Catch PortageException from portdbapi.aux_get since it can happen when gpg is in...
authorZac Medico <zmedico@gentoo.org>
Mon, 18 Dec 2006 03:47:31 +0000 (03:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 18 Dec 2006 03:47:31 +0000 (03:47 -0000)
svn path=/main/trunk/; revision=5316

bin/emerge

index b46ce3b6847130d31d2dbcc1f9bfd6ff2af4508e..f747ed094e1b944e07098e9ecb0c9be2c7adc7bf 100755 (executable)
@@ -750,7 +750,7 @@ class FakeVartree(portage.vartree):
                                        live_metadata = dict(izip(portdb_keys,
                                                portdb.aux_get(cpv, portdb_keys)))
                                        self.dbapi.aux_update(cpv, live_metadata)
-                               except KeyError:
+                               except KeyError, portage_exception.PortageException:
                                        if global_updates is None:
                                                global_updates = \
                                                        grab_global_updates(portdb.porttree_root)