* [gentoo-commits] portage r13511 - main/branches/2.1.6/pym/portage
@ 2009-04-30 7:16 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-04-30 7:16 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-04-30 07:16:56 +0000 (Thu, 30 Apr 2009)
New Revision: 13511
Modified:
main/branches/2.1.6/pym/portage/locks.py
Log:
Fix lockfile() docstring to correctly document the wantnewlockfile behavior.
Thanks to Arfrever for reporting. (trunk r13355)
Modified: main/branches/2.1.6/pym/portage/locks.py
===================================================================
--- main/branches/2.1.6/pym/portage/locks.py 2009-04-30 07:16:44 UTC (rev 13510)
+++ main/branches/2.1.6/pym/portage/locks.py 2009-04-30 07:16:56 UTC (rev 13511)
@@ -28,8 +28,10 @@
def lockfile(mypath, wantnewlockfile=0, unlinkfile=0,
waiting_msg=None, flags=0):
- """Creates all dirs upto, the given dir. Creates a lockfile
- for the given directory as the file: directoryname+'.portage_lockfile'."""
+ """
+ If wantnewlockfile is True then this creates a lockfile in the parent
+ directory as the file: '.' + basename + '.portage_lockfile'.
+ """
import fcntl
if not mypath:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-30 7:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-30 7:16 [gentoo-commits] portage r13511 - main/branches/2.1.6/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox