projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9dd6b6
)
Fix a lock file leak.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 14 Nov 2006 14:07:25 +0000
(14:07 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 14 Nov 2006 14:07:25 +0000
(14:07 -0000)
svn path=/main/trunk/; revision=5046
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 0188cdc4fa7dcec81a625cee1d175b9f0ab00405..965d5030dbb34a5fc9a894ff40e1232710122157 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-5151,7
+5151,7
@@
class portdbapi(dbapi):
mylock = None
try:
- portage_locks.lockfile(mydbkey, wantnewlockfile=1)
+
mylock =
portage_locks.lockfile(mydbkey, wantnewlockfile=1)
try:
os.unlink(mydbkey)
except (IOError, OSError), e: