[Checkins] SVN: Sandbox/janwijbrand/importchecker/src/importchecker/importchecker.py script is supossed to be run through entry points.

Jan-Wijbrand Kolman janwijbrand at gmail.com
Tue May 6 08:34:03 EDT 2008


Log message for revision 86502:
  script is supossed to be run through entry points.

Changed:
  U   Sandbox/janwijbrand/importchecker/src/importchecker/importchecker.py

-=-
Modified: Sandbox/janwijbrand/importchecker/src/importchecker/importchecker.py
===================================================================
--- Sandbox/janwijbrand/importchecker/src/importchecker/importchecker.py	2008-05-06 12:32:21 UTC (rev 86501)
+++ Sandbox/janwijbrand/importchecker/src/importchecker/importchecker.py	2008-05-06 12:34:03 UTC (rev 86502)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 ##############################################################################
 #
 # Copyright (c) 2003 Zope Corporation and Contributors.
@@ -324,6 +323,3 @@
         for line in lines:
             names = ', '.join(line2names[line])
             print "%s:%s: %s" % (path, line, names)
-
-if __name__ == '__main__':
-    main()



More information about the Checkins mailing list