]> thyrsus.com Git - comparator.git/commitdiff
Better error handling.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 3 Sep 2003 16:30:05 +0000 (16:30 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 3 Sep 2003 16:30:05 +0000 (16:30 +0000)
filterator

index 08aac3de84613605f5a521182fdfc910f608c1d9..365442053ea6ef02885026699f968e79465c0131 100755 (executable)
@@ -98,5 +98,6 @@ if __name__ == '__main__':
                     locations = []
                     break
                 except IOError:
-                    pass
+                    sys.stderr.write("filterator: can't open %s\n" % file)
+                    sys.exit(0)
     print "%d overlaps." % count