don't print py lib revision always

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-05-10 21:50:24 +02:00
parent 541b35270f
commit 1cb83de0ab
1 changed files with 4 additions and 3 deletions

View File

@ -207,6 +207,7 @@ class TerminalReporter:
msg += " -- " + str(sys.executable)
self.write_line(msg)
if self.config.option.debug or self.config.option.traceconfig:
rev = py.__pkg__.getrev()
self.write_line("using py lib: %s <rev %s>" % (
py.path.local(py.__file__).dirpath(), rev))