[Zodb-checkins] SVN: zodbbench/trunk/zodbbench/utils.py report(): A saner try at dealing w/ newlines in sys.version.

Tim Peters tim.one at comcast.net
Fri Oct 7 17:00:27 EDT 2005


Log message for revision 38907:
  report():  A saner try at dealing w/ newlines in sys.version.
  Add sys.platform to the output.
  

Changed:
  U   zodbbench/trunk/zodbbench/utils.py

-=-
Modified: zodbbench/trunk/zodbbench/utils.py
===================================================================
--- zodbbench/trunk/zodbbench/utils.py	2005-10-07 20:57:15 UTC (rev 38906)
+++ zodbbench/trunk/zodbbench/utils.py	2005-10-07 21:00:27 UTC (rev 38907)
@@ -122,8 +122,9 @@
         print "ZODB:", ZODB.__version__
         print "     ", os.path.dirname(os.path.dirname(ZODB.__file__))
 
-        version = sys.version.replace("\n", "        \n")
+        version = sys.version.replace("\n", "\n        ")
         print "Python:", version
         print "       ", sys.executable
+        print "       ", sys.platform
 
         print msg



More information about the Zodb-checkins mailing list