From: Tarek Ziadé Date: Sun, 22 Feb 2009 20:15:41 +0000 (+0000) Subject: Removing unused __main__ sections X-Git-Tag: v2.7a1~1964 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b47172becab3eb73cc6836331c3e687fa1df446;p=thirdparty%2FPython%2Fcpython.git Removing unused __main__ sections --- diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 1351f445c35b..012fca15b565 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -474,7 +474,3 @@ class install_misc (Command): def get_outputs (self): return self.outfiles - - -if __name__ == "__main__": - print "ok" diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 3dd776ccd2d4..2d57ad09e911 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -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"