diff options
author | Jan Rękorajski | 2021-01-16 19:48:05 (GMT) |
---|---|---|
committer | Jan Rękorajski | 2021-01-16 19:48:05 (GMT) |
commit | 9c170c6153b10298811a5de004899f912d8b1e4d (patch) | |
tree | 6a4d5a90e853de8077ddb44a7f5b863ce10b313b /bin/pfa-lintpkg | |
parent | 2ec96333835d67384921c863d3b4250d42165142 (diff) | |
download | pld-ftp-admin-9c170c6153b10298811a5de004899f912d8b1e4d.zip pld-ftp-admin-9c170c6153b10298811a5de004899f912d8b1e4d.tar.gz |
Fix exception handling syntax (python3 compat)
Diffstat (limited to 'bin/pfa-lintpkg')
-rwxr-xr-x | bin/pfa-lintpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pfa-lintpkg b/bin/pfa-lintpkg index 2387a44..716cd88 100755 --- a/bin/pfa-lintpkg +++ b/bin/pfa-lintpkg @@ -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) |