[Zope-Checkins] CVS: Zope/bin - mkzopeinstance:1.1.2.2
Fred L. Drake, Jr.
fred@zope.com
Fri, 21 Feb 2003 15:17:31 -0500
Update of /cvs-repository/Zope/bin
In directory cvs.zope.org:/tmp/cvs-serv6992
Modified Files:
Tag: new-install-branch
mkzopeinstance
Log Message:
Include a newline at the end of the inituser file now that the trunk
does.
=== Zope/bin/mkzopeinstance 1.1.2.1 => 1.1.2.2 ===
--- Zope/bin/mkzopeinstance:1.1.2.1 Tue Feb 4 16:16:37 2003
+++ Zope/bin/mkzopeinstance Fri Feb 21 15:17:30 2003
@@ -117,7 +117,7 @@
import sha
fp = open(fn, "w")
pw = binascii.b2a_base64(sha.new(password).digest())[:-1]
- fp.write('%s:{SHA}%s' % (user, pw))
+ fp.write('%s:{SHA}%s\n' % (user, pw))
fp.close()
os.chmod(fn, 0644)