summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-01 23:18:16 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-01 23:18:16 +0000
commit62f46a55892b57e6d00afbed8f712741b1d70bfd (patch)
treecc18fb64f9c612df7a3bc281fce22bbd17663997
parent345d2666e0e7b3a050257d91aafb4c2719344d2a (diff)
downloadportage-62f46a55892b57e6d00afbed8f712741b1d70bfd.tar.gz
portage-62f46a55892b57e6d00afbed8f712741b1d70bfd.tar.bz2
portage-62f46a55892b57e6d00afbed8f712741b1d70bfd.zip
Fix broken except statement syntax.
svn path=/main/trunk/; revision=6119
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index c27ad0b92..b5d15408f 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -4031,7 +4031,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
try:
servertimestamp = time.mktime(time.strptime(
content[0], "%a, %d %b %Y %H:%M:%S +0000"))
- except OverflowError, ValueError:
+ except (OverflowError, ValueError):
pass
del mycommand, mypids, content
if exitcode == os.EX_OK: