treewalk: unlockdb/lockdb typo triggers EDEADLK
authorZac Medico <zmedico@gentoo.org>
Sun, 15 May 2011 23:17:36 +0000 (16:17 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 15 May 2011 23:17:36 +0000 (16:17 -0700)
pym/portage/dbapi/vartree.py

index d602a37c01776e13c0db079d699cf821cc0a1197..0f8eede1b311e1880aa27fde2e42849c7c8ff599 100644 (file)
@@ -3510,7 +3510,7 @@ class dblink(object):
                                self.vartree.dbapi.removeFromContents(blocker, iter(contents),
                                        relative_paths=False)
                finally:
-                       self.lockdb()
+                       self.unlockdb()
 
                plib_registry = self.vartree.dbapi._plib_registry
                if plib_registry: