diff options
-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") |