From: Zac Medico Date: Thu, 1 Mar 2007 23:18:16 +0000 (-0000) Subject: Fix broken except statement syntax. X-Git-Tag: v2.2_pre1~1631 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62f46a55892b57e6d00afbed8f712741b1d70bfd;p=portage.git Fix broken except statement syntax. svn path=/main/trunk/; revision=6119 --- 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: