Fix broken exception handling syntax causing strange exception reported in bug #15860...
authorZac Medico <zmedico@gentoo.org>
Wed, 20 Dec 2006 19:29:17 +0000 (19:29 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 20 Dec 2006 19:29:17 +0000 (19:29 -0000)
svn path=/main/trunk/; revision=5335

bin/emerge

index 1cb50119f887767c740dc043ead3f2b9387dbb69..2f73f518856795a08c71904d04917043c25306df 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, portage_exception.PortageException:
+                               except (KeyError, portage_exception.PortageException):
                                        if global_updates is None:
                                                global_updates = \
                                                        grab_global_updates(portdb.porttree_root)