[Zope-Checkins] CVS: Zope/utilities - mkzopeinstance.py:1.2.2.7

Andreas Jung andreas at andreas-jung.com
Wed Jul 14 01:00:24 EDT 2004


Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv20262

Modified Files:
      Tag: Zope-2_7-branch
	mkzopeinstance.py 
Log Message:
fixed racing condition with existing inituser file


=== Zope/utilities/mkzopeinstance.py 1.2.2.6 => 1.2.2.7 ===
--- Zope/utilities/mkzopeinstance.py:1.2.2.6	Thu Mar 18 08:24:04 2004
+++ Zope/utilities/mkzopeinstance.py	Wed Jul 14 01:00:23 2004
@@ -120,7 +120,8 @@
         }
 
     copyzopeskel.copyskel(skelsrc, skeltarget, None, None, **kw)
-    write_inituser(inituser, user, password)
+    if user and password:
+        write_inituser(inituser, user, password)
 
 def usage(stream, msg=None):
     if msg:



More information about the Zope-Checkins mailing list