[Zope3-checkins] CVS: Zope3/utilities - finddeps.py:1.4

Fred L. Drake, Jr. fred at zope.com
Thu Mar 11 12:07:25 EST 2004


Update of /cvs-repository/Zope3/utilities
In directory cvs.zope.org:/tmp/cvs-serv18195

Modified Files:
	finddeps.py 
Log Message:
make definition of ZOPESRC more readable


=== Zope3/utilities/finddeps.py 1.3 => 1.4 ===
--- Zope3/utilities/finddeps.py:1.3	Thu Mar 11 11:50:21 2004
+++ Zope3/utilities/finddeps.py	Thu Mar 11 12:07:25 2004
@@ -47,7 +47,7 @@
 
 # Get the Zope base path
 import zope
-ZOPESRC=os.path.split(os.path.split(zope.__file__)[0])[0]
+ZOPESRC = os.path.dirname(os.path.dirname(zope.__file__))
 
 # Matching expression for python files.
 pythonfile = re.compile(r'[a-zA-Z][a-zA-Z0-9_]*\.py')




More information about the Zope3-Checkins mailing list