summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/comparisons/regextest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/comparisons/regextest.py b/Demo/comparisons/regextest.py
index fbc5f6c..b27d741 100755
--- a/Demo/comparisons/regextest.py
+++ b/Demo/comparisons/regextest.py
@@ -43,4 +43,5 @@ def main():
def chomp(s):
return s.rstrip('\n')
-main()
+if __name__ == '__main__':
+ main()