summaryrefslogtreecommitdiffstats
path: root/pym/emerge/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/emerge/__init__.py')
-rw-r--r--pym/emerge/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index b5d15408f..256140df5 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -3893,7 +3893,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
try:
mytimestamp = time.mktime(time.strptime(content[0],
"%a, %d %b %Y %H:%M:%S +0000"))
- except OverflowError, ValueError:
+ except (OverflowError, ValueError):
pass
del content
@@ -4301,7 +4301,7 @@ def action_regen(settings, portdb):
for y in nodes:
try:
del auxdb[y]
- except KeyError, CacheError:
+ except (KeyError, CacheError):
pass
print "done!"