]> git.decadent.org.uk Git - dak.git/blobdiff - tests/test_parse_changes.py
Convert exception handling to Python3 syntax.
[dak.git] / tests / test_parse_changes.py
index 85a76948d193c5f4a8f4615eb71aa1fdc011236f..20dab4b9e51dfd0d30656a95ea7355941e205002 100755 (executable)
@@ -20,7 +20,7 @@ class ParseChangesTestCase(DakTestCase):
             pass
         except GpgException:
             pass
-        except InvalidDscError, actual_line:
+        except InvalidDscError as actual_line:
             if line is not None:
                 assertEqual(actual_line, line)