server/test/unittest_undo.py
changeset 8695 358d8bed9626
parent 8694 d901c36bcfce
child 8812 52af67a2f0a5
--- a/server/test/unittest_undo.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/server/test/unittest_undo.py	Thu Feb 14 15:38:25 2013 +0100
@@ -52,7 +52,7 @@
             expected_errors = []
         try:
             self.cnx.undo_transaction(txuuid)
-        except UndoTransactionException, exn:
+        except UndoTransactionException as exn:
             errors = exn.errors
         else:
             errors = []