aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-05-16 23:28:23 +0200
committerVictor Häggqvist <[email protected]>2014-05-16 23:28:23 +0200
commit68f827ae63ed01d6a8c8a2a061e2c57fe72a0c72 (patch)
treee896b99d203045e8b3883d13be0766446bf166bb
parentf5e25bcb2be79bf493503f0d98f6898db1148e7d (diff)
if main
-rwxr-xr-xgiti.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/giti.py b/giti.py
index b2a9830..9a274e5 100755
--- a/giti.py
+++ b/giti.py
@@ -75,4 +75,5 @@ def main():
else:
help()
-main()
+if __name__ == "__main__":
+ main()