]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/metadata.py
include backports archive in (pool) sync
[dak.git] / daklib / metadata.py
old mode 100755 (executable)
new mode 100644 (file)
index d88cf4f..793b073
@@ -66,7 +66,7 @@ class MetadataScanner(object):
             if self.verbose:
                 print "Imported %s (%s)" % (self.pkid, fullpath)
             session.commit()
-        except Exception, e:
+        except Exception as e:
             print "Failed to import %s [id=%s; fullpath=%s]" % (self.dbclass.__name__, self.pkid, fullpath)
             print "Exception: ", e
             session.rollback()