]> granicus.if.org Git - python/commitdiff
Removing unused __main__ sections
authorTarek Ziadé <ziade.tarek@gmail.com>
Sun, 22 Feb 2009 20:15:41 +0000 (20:15 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Sun, 22 Feb 2009 20:15:41 +0000 (20:15 +0000)
Lib/distutils/cmd.py
Lib/distutils/dist.py

index 1351f445c35b1ec48b510884dd5046ae1965462f..012fca15b565d55d967438a06c4a07e9e91b8734 100644 (file)
@@ -474,7 +474,3 @@ class install_misc (Command):
 
     def get_outputs (self):
         return self.outfiles
-
-
-if __name__ == "__main__":
-    print "ok"
index 3dd776ccd2d4d5226d4de9f1e38a1e15745979ad..2d57ad09e911b08b589d0162d0e8c2701a886408 100644 (file)
@@ -1224,8 +1224,3 @@ def fix_help_options (options):
     for help_tuple in options:
         new_options.append(help_tuple[0:3])
     return new_options
-
-
-if __name__ == "__main__":
-    dist = Distribution()
-    print "ok"