2to3 -f except
[sfa.git] / clientbin / getRecord.py
index e2be593..c88f193 100755 (executable)
@@ -78,8 +78,8 @@ def main():
 
 if __name__ == '__main__':
     try: main()
-    except ExpatError, e:
+    except ExpatError as e:
         print "RecordError.  Is your record valid XML?"
         print e
-    except Exception, e:
+    except Exception as e:
         print e