]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - bin/pfa-lintpkg
Fix exception handling syntax (python3 compat)
[projects/pld-ftp-admin.git] / bin / pfa-lintpkg
index 2387a44ac78cfbe95aaf28f5ea33e736c11d5214..716cd88040cdaee03dae58fb875cabf9ef4317ec 100755 (executable)
@@ -65,7 +65,7 @@ try:
         tree.mark4moving(packages)
     files = tree.rpmfiles(debugfiles = debugfiles, sourcefiles = False)
 
-except (ftptree.SomeError, KeyboardInterrupt), e:
+except (ftptree.SomeError, KeyboardInterrupt) as e:
     # In case of problems we need to unlock the tree before exiting
     ftpio.unlock(treename)
     sys.exit(1)
This page took 0.070591 seconds and 4 git commands to generate.