projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d17c150
)
Dispose of lock object after calling unlockfile(), in order to ensure
author
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Aug 2010 20:51:47 +0000
(13:51 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Aug 2010 20:51:47 +0000
(13:51 -0700)
that we only try to unlock it once.
pym/portage/package/ebuild/fetch.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/fetch.py
b/pym/portage/package/ebuild/fetch.py
index b95980539a6b86f1b4e0a6f707b3996586b65223..0481ed2b093ffe2de2a735075fe3775a3750358b 100644
(file)
--- a/
pym/portage/package/ebuild/fetch.py
+++ b/
pym/portage/package/ebuild/fetch.py
@@
-1033,6
+1033,7
@@
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
finally:
if use_locks and file_lock:
unlockfile(file_lock)
+ file_lock = None
if listonly:
writemsg_stdout("\n", noiselevel=-1)