diff options
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 26dd195f2..bcaff842c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5315,7 +5315,8 @@ class portdbapi(dbapi): raise except Exception, e: auxdb_is_valid = 0 - writemsg("auxdb exception: [%(loc)s]: %(exception)s\n" % {"loc":mylocation+"::"+cat+"/"+pkg, "exception":str(e)}) + if not metacachedir: + writemsg("auxdb exception: [%(loc)s]: %(exception)s\n" % {"loc":mylocation+"::"+cat+"/"+pkg, "exception":str(e)}) if self.auxdb[mylocation][cat].has_key(pkg): self.auxdb[mylocation][cat].del_key(pkg) self.auxdb[mylocation][cat].sync() |