[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:
hpk
2008-02-08 09:43:05 +01:00
parent 37d357ff4c
commit f3f84fa36c
11 changed files with 32 additions and 30 deletions
+1 -1
View File
@@ -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