hgext/churn.py
changeset 25660 328739ea70c3
parent 25186 80c5b2666a96
child 26587 56b2bcea2529
--- a/hgext/churn.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/hgext/churn.py	Tue Jun 23 22:20:08 2015 -0700
@@ -26,7 +26,7 @@
     try:
         t = cmdutil.changeset_templater(ui, repo, False, None, tmpl,
                                         None, False)
-    except SyntaxError, inst:
+    except SyntaxError as inst:
         raise util.Abort(inst.args[0])
     return t