Fix broken except statement syntax.
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 23:18:16 +0000 (23:18 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 23:18:16 +0000 (23:18 -0000)
svn path=/main/trunk/; revision=6119

pym/emerge/__init__.py

index c27ad0b9252789d7de445ac9b256b43e0f71c8f3..b5d15408f1062df725aa5035c66447d93dea9f07 100644 (file)
@@ -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: