[Zope-Checkins] CVS: Zope/utilities - mkzopeinstance.py:1.3
Chris McDonough
chrism@zope.com
Sun, 20 Jul 2003 23:35:39 -0400
Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv17204
Modified Files:
mkzopeinstance.py
Log Message:
Expand tilde from dirname into HOME.
=== Zope/utilities/mkzopeinstance.py 1.2 => 1.3 ===
--- Zope/utilities/mkzopeinstance.py:1.2 Thu Jun 26 14:47:23 2003
+++ Zope/utilities/mkzopeinstance.py Sun Jul 20 23:35:34 2003
@@ -69,6 +69,7 @@
sys.exit(2)
if not dirname:
dirname = get_dirname()
+ dirname = os.path.expanduser(dirname)
inituser = os.path.join(dirname, "inituser")
if not (user or os.path.exists(inituser)):
user, password = get_inituser()