commit | bd3bdde70bebd5f56f163dab7e6d8a04ff973013 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 02 22:18:25 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 02 22:18:25 1999 +0000 |
tree | b087a9b3ea71277c38334eeae283972a776f56dd | |
parent | 8ff764f1134fb4f9ad79585e53805825ed36abb8 [diff] |
For reasons I dare not explain, this script should always execute main() when imported (in other words, it is not usable as a module).
diff --git a/Tools/scripts/dutree.py b/Tools/scripts/dutree.py index 5912382..5e78d63 100755 --- a/Tools/scripts/dutree.py +++ b/Tools/scripts/dutree.py
@@ -56,5 +56,4 @@ if d.has_key(key): show(tsub, d[key][1], psub) -if __name__ == "__main__": - main() +main()