[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/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:19:10 EDT 2004
Log message for revision 26883:
look for the version.txt magic file in the zope.app package instead of zope
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/app/applicationcontrol/zopeversion.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/applicationcontrol/zopeversion.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/applicationcontrol/zopeversion.py 2004-08-03 20:40:12 UTC (rev 26882)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/applicationcontrol/zopeversion.py 2004-08-03 21:19:09 UTC (rev 26883)
@@ -18,7 +18,7 @@
import os
import re
-import zope
+import zope.app
from zope.app.applicationcontrol.interfaces import IZopeVersion
from zope.interface import implements
@@ -30,7 +30,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