diff options
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index dd479aab0..51dc4fd44 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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" |