summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
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: