diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-11-14 14:07:25 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-11-14 14:07:25 +0000 |
commit | 67e32e138a740df0fa02eb9faa6c8cd789db8201 (patch) | |
tree | 4cb93e59829bbe2ae7fb7228a20652e3ffe01ee8 | |
parent | c9dd6b66478637ef3dc9aea33837c56594a81280 (diff) | |
download | portage-67e32e138a740df0fa02eb9faa6c8cd789db8201.tar.gz portage-67e32e138a740df0fa02eb9faa6c8cd789db8201.tar.bz2 portage-67e32e138a740df0fa02eb9faa6c8cd789db8201.zip |
Fix a lock file leak.
svn path=/main/trunk/; revision=5046
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 0188cdc4f..965d5030d 100644 --- 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: |