[svn r51329] rename special __package__ to __pkg__ because python 2.6 needs the former
(thanks to Ralf Schmitt) --HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -356,7 +356,7 @@ class LocalReporter(AbstractReporter):
|
||||
self.timestart = item.timestart
|
||||
self.out.line("executable: %s (%s)" %
|
||||
(py.std.sys.executable, repr_pythonversion()))
|
||||
rev = py.__package__.getrev()
|
||||
rev = py.__pkg__.getrev()
|
||||
self.out.line("using py lib: %s <rev %s>" % (
|
||||
py.path.local(py.__file__).dirpath(), rev))
|
||||
config = item.config
|
||||
|
||||
Reference in New Issue
Block a user