diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-03-01 03:35:39 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-03-01 03:35:39 +0000 |
commit | ee6c173cc45bb40ecc7052fe740a33072a11051c (patch) | |
tree | fbde0ef86892f98dfc8b96b4a8e70614c4ef7b4e | |
parent | 7c80c65ee1ae24a45077014cd5448e1c3e4064eb (diff) | |
download | portage-ee6c173cc45bb40ecc7052fe740a33072a11051c.tar.gz portage-ee6c173cc45bb40ecc7052fe740a33072a11051c.tar.bz2 portage-ee6c173cc45bb40ecc7052fe740a33072a11051c.zip |
For bug #168823, fix broken except statement syntax that prevents the ValueError from being caught as intended.
svn path=/main/trunk/; revision=6102
-rw-r--r-- | pym/portage/dbapi/vartree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index ec4c2db33..e0359e476 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -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") |