[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cvs
Subject:    [Zope-Checkins] CVS: Zope/inst - make_instance.py:1.3.4.4
From:       Chris McDonough <chrism () zope ! com>
Date:       2002-08-29 6:14:53
[Download RAW message or body]

Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv13673/inst

Modified Files:
      Tag: chrism-install-branch
	make_instance.py 
Log Message:
Actually add a 'make instance' command.

Expand homedirs on user input to make_instance.py.


=== Zope/inst/make_instance.py 1.3.4.3 => 1.3.4.4 ===
--- Zope/inst/make_instance.py:1.3.4.3	Thu Aug 29 01:22:08 2002
+++ Zope/inst/make_instance.py	Thu Aug 29 02:14:52 2002
@@ -26,7 +26,7 @@
         print
         ih = raw_input('Instance home [%s]: ' % home)
         if ih == '': ih = home
-        else: ih = os.path.abspath(ih)
+        else: ih = os.path.abspath(os.path.expanduser(ih))
         if not os.path.exists(ih):
             print '%s does not exist.' % `ih`
             make_ih = raw_input('Shall I create it [y]? ')


_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://lists.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic