diff options
author | Elan Ruusamäe | 2011-02-10 12:47:48 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2011-02-10 12:47:48 (GMT) |
commit | 5a13eb89447da79cac01940ce3b13e26317e935d (patch) | |
tree | 03aeacb1e224cb8fb6ff22de7b45bb0bfc8e4009 /bin | |
parent | 8d0f868fe964da9214b7bf3409213f653a3bc8c3 (diff) | |
download | pld-ftp-admin-5a13eb89447da79cac01940ce3b13e26317e935d.zip pld-ftp-admin-5a13eb89447da79cac01940ce3b13e26317e935d.tar.gz |
- unlock tree on ^C
Changed files:
bin/pfa-lintpkg -> 1.6
Diffstat (limited to 'bin')
-rw-r--r-- | bin/pfa-lintpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pfa-lintpkg b/bin/pfa-lintpkg index 16a03a8..e603069 100644 --- a/bin/pfa-lintpkg +++ b/bin/pfa-lintpkg @@ -37,7 +37,7 @@ try: tree.mark4moving(sys.argv[2:]) files = tree.rpmfiles(debugfiles = False, sourcefiles = False) -except ftptree.SomeError: +except (ftptree.SomeError, KeyboardInterrupt), e: # In case of problems we need to unlock the tree before exiting ftpio.unlock(sys.argv[1]) sys.exit(1) |