[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py
look for the version.txt magic file in the zope.app package
instead of zope
Fred L. Drake, Jr.
fdrake at gmail.com
Tue Aug 3 17:31:09 EDT 2004
Log message for revision 26884:
look for the version.txt magic file in the zope.app package instead of zope
(merged from ZopeX3-3.0 branch revision 26883)
Changed:
U Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py
-=-
Modified: Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py 2004-08-03 21:19:09 UTC (rev 26883)
+++ Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py 2004-08-03 21:31:09 UTC (rev 26884)
@@ -20,7 +20,7 @@
import os
import re
-import zope
+import zope.app
from zope.app.applicationcontrol.interfaces import IZopeVersion
from zope.interface import implements
@@ -32,7 +32,7 @@
def __init__(self, path=None):
if path is None:
- path = os.path.dirname(os.path.abspath(zope.__file__))
+ path = os.path.dirname(os.path.abspath(zope.app.__file__))
self.path = path
self.result = None
More information about the Zope3-Checkins
mailing list