From e988ead0427787a40f2e9b0c4827d67b876bbda4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 27 Mar 2011 13:57:35 -0700 Subject: [PATCH] unmerge: fix lock/UnsupportedAPIException logic --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index a9e8edef2..8ef71278e 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1669,7 +1669,7 @@ class dblink(object): elog_process(self.mycpv, self.settings, phasefilter=('prerm', 'postrm')) - if retval == os.EX_OK: + if retval == os.EX_OK and builddir_lock is not None: # myebuildpath might be None, so ensure # it has a sane value for the clean phase, # even though it won't really be sourced. -- 2.26.2