From 045c2064c9c6a3bd64cda5ad38a56683fce78030 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 15 Aug 2010 13:51:47 -0700 Subject: [PATCH] Dispose of lock object after calling unlockfile(), in order to ensure that we only try to unlock it once. --- pym/portage/package/ebuild/fetch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/package/ebuild/fetch.py b/pym/portage/package/ebuild/fetch.py index b95980539..0481ed2b0 100644 --- 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) -- 2.26.2