Log message for revision 96768:
  provide main()
  

Changed:
  U   Zope/trunk/src/Zope2/utilities/requestprofiler.py

-=-
Modified: Zope/trunk/src/Zope2/utilities/requestprofiler.py
===================================================================
--- Zope/trunk/src/Zope2/utilities/requestprofiler.py   2009-02-19 16:42:01 UTC 
(rev 96767)
+++ Zope/trunk/src/Zope2/utilities/requestprofiler.py   2009-02-19 16:45:43 UTC 
(rev 96768)
@@ -701,7 +701,7 @@
     return usage
 
 
-if __name__ == '__main__':
+def main():
     if len(sys.argv) == 1:
         print usage()
         sys.exit(0)
@@ -838,3 +838,6 @@
         traceback.print_exc()
         print usage()
         sys.exit(0)
+
+if __name__ == '__main__':
+    main()

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to