[Zope-CVS] SVN: zpkgtools/trunk/zpkgtools/config.py simplify path
construction
Fred L. Drake, Jr.
fred at zope.com
Wed Jul 21 17:45:32 EDT 2004
Log message for revision 26663:
simplify path construction
Changed:
U zpkgtools/trunk/zpkgtools/config.py
-=-
Modified: zpkgtools/trunk/zpkgtools/config.py
===================================================================
--- zpkgtools/trunk/zpkgtools/config.py 2004-07-21 21:35:19 UTC (rev 26662)
+++ zpkgtools/trunk/zpkgtools/config.py 2004-07-21 21:45:32 UTC (rev 26663)
@@ -134,7 +134,4 @@
if os.name == "posix":
zpkgdir = "." + zpkgdir
name = os.path.join("~", zpkgdir, "zpkg.conf")
- path = os.path.expanduser(name)
- if os.path.exists(path):
- path = os.path.realpath(path)
- return path
+ return os.path.expanduser(name)
More information about the Zope-CVS
mailing list