]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/srcformats.py
Python modules should not be executable
[dak.git] / daklib / srcformats.py
old mode 100755 (executable)
new mode 100644 (file)
index 85ac701..050691f
@@ -48,7 +48,7 @@ def get_format_from_string(txt):
         if format.re_format.match(txt):
             return format
 
-    raise UnknownFormatError, "Unknown format %r" % txt
+    raise UnknownFormatError("Unknown format %r" % txt)
 
 class SourceFormat(type):
     def __new__(cls, name, bases, attrs):