]> thyrsus.com Git - comparator.git/commitdiff
Handle signal 13.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 18 Sep 2003 09:50:32 +0000 (09:50 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 18 Sep 2003 09:50:32 +0000 (09:50 +0000)
filterator

index a03f6f0aabad1fecc28f100fdcc403546dfc6950..94c6ccb2cef11176f920d7fd1e8457276e28bc50 100755 (executable)
@@ -54,7 +54,7 @@ if __name__ == '__main__':
             state.filter_by_size(minsize)
         try:
             report_common(state)
-        except KeyboardInterrupt:
+        except (KeyboardInterrupt, IOError):
             pass
     except comparator.ComparatorException, e:
         sys.stderr.write("filterator: " + e.message + "\n")