changeset 170:46b9c9124cee

Remove the test snippet from {{{bitten.util.loc}}}.
author cmlenz
date Tue, 30 Aug 2005 09:51:52 +0000
parents 722215d17899
children 51e23a05e3fa
files bitten/util/loc.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/util/loc.py
+++ b/bitten/util/loc.py
@@ -143,12 +143,3 @@
                 if prev_line == line:
                     # Let's be quiet and hope only one line is affected.
                     line = ''
-
-
-if __name__ == '__main__':
-    import sys
-    source = file(sys.argv[1], 'r')
-    try:
-        print crunch(source)
-    finally:
-        source.close()
Copyright (C) 2012-2017 Edgewall Software