diff mercurial/changelog.py @ 14004:97ed99d1f419

eliminate various naked except clauses
author Idan Kamara <idankk86@gmail.com>
date Sat, 23 Apr 2011 00:51:25 +0300
parents 41d0ed2c79df
children c1cca38818b9
line wrap: on
line diff
--- a/mercurial/changelog.py	Sun Apr 24 17:52:46 2011 -0500
+++ b/mercurial/changelog.py	Sat Apr 23 00:51:25 2011 +0300
@@ -185,7 +185,7 @@
             try:
                 # various tools did silly things with the time zone field.
                 timezone = int(extra_data[0])
-            except:
+            except ValueError:
                 timezone = 0
             extra = {}
         else: