summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/classfix.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/classfix.py')
-rwxr-xr-xTools/scripts/classfix.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/classfix.py b/Tools/scripts/classfix.py
index 520b352..cdf006a 100755
--- a/Tools/scripts/classfix.py
+++ b/Tools/scripts/classfix.py
@@ -186,4 +186,5 @@ def fixline(line):
return head + '(' + basepart + '):' + tail
-main()
+if __name__ == '__main__':
+ main()