For bug #168823, fix broken except statement syntax that prevents the ValueError...
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 03:36:46 +0000 (03:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 03:36:46 +0000 (03:36 -0000)
svn path=/main/branches/2.1.2/; revision=6103

pym/portage.py

index dd479aab0b887ff7bd9bce22aa69016aa8d65d08..51dc4fd440991609c479a8561e20dd2f445d6f79 100644 (file)
@@ -4982,7 +4982,7 @@ class vardbapi(dbapi):
                "This method will grab the COUNTER. Returns a counter value."
                try:
                        return long(self.aux_get(mycpv, ["COUNTER"])[0])
-               except KeyError, ValueError:
+               except (KeyError, ValueError):
                        pass
                cdir=self.root+VDB_PATH+"/"+mycpv
                cpath=self.root+VDB_PATH+"/"+mycpv+"/COUNTER"