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

pym/portage/dbapi/vartree.py

index ec4c2db33f5b68773e9e1ec289044b5c55f3aab8..e0359e476309198f4f142524eeb878af0e8bebcb 100644 (file)
@@ -67,7 +67,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.getpath(mycpv)
                cpath = self.getpath(mycpv, filename="COUNTER")