[Zope-Checkins] SVN: Zope/trunk/utilities/mkzopeinstance.py fixed
racing condition with exisiting inituser file
Andreas Jung
andreas at andreas-jung.com
Wed Jul 14 01:01:04 EDT 2004
Log message for revision 26520:
fixed racing condition with exisiting inituser file
Changed:
U Zope/trunk/utilities/mkzopeinstance.py
-=-
Modified: Zope/trunk/utilities/mkzopeinstance.py
===================================================================
--- Zope/trunk/utilities/mkzopeinstance.py 2004-07-14 04:41:02 UTC (rev 26519)
+++ Zope/trunk/utilities/mkzopeinstance.py 2004-07-14 05:01:04 UTC (rev 26520)
@@ -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