python except as
diff --git a/makerelease.py b/makerelease.py
index e44e439..2b6c564 100644
--- a/makerelease.py
+++ b/makerelease.py
@@ -84,7 +84,7 @@
     """
     try:
         list_stdout = svn_command( 'list', tag_url )
-    except SVNError, e:
+    except SVNError as e:
         if e.returncode != 1 or not str(e).find('tag_url'):
             raise e
         # otherwise ignore error, meaning tag does not exist