From 7a8c43ee6a1f9c50bec8cc5234eff8b1d5e61088 Mon Sep 17 00:00:00 2001 From: Johannes Gijsbers Date: Sat, 11 Sep 2004 16:34:35 +0000 Subject: Add 'if __name__ == "__main__":' to files already as a usable as a module. --- Demo/scripts/eqfix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Demo/scripts/eqfix.py') diff --git a/Demo/scripts/eqfix.py b/Demo/scripts/eqfix.py index deac4f8a61..165ca4906b 100755 --- a/Demo/scripts/eqfix.py +++ b/Demo/scripts/eqfix.py @@ -194,5 +194,5 @@ def fixline(line): print line, return line - -main() +if __name__ == "__main__": + main() -- cgit v1.2.1