[Zope3-checkins] CVS: Zope3 - z3.py:1.13
Tim Peters
tim.one@comcast.net
Wed, 25 Dec 2002 14:29:21 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv1656
Modified Files:
z3.py
Log Message:
Whitespace normalization, via doing
path_to_python_root/Tools/scripts/reindent -v -r .
from the Zope3 root. Doing this regularly will get rid of DOS line
endings, get rid of hard-coded tab characters, get rid of 2-space and
17-space (etc) indents (it normalizes them to 4-space), ensure every
.py file has a (exactly one) ending newline, and get rid of trailing
whitespace on lines. Done regularly, it's not disruptive (I do the
same for Python's Lib directory a few times per month).
=== Zope3/z3.py 1.12 => 1.13 ===
--- Zope3/z3.py:1.12 Wed Dec 25 09:12:09 2002
+++ Zope3/z3.py Wed Dec 25 14:28:50 2002
@@ -3,14 +3,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
-#
+#
##############################################################################
"""Start script for Zope3: loads configuration and starts the server.
@@ -49,7 +49,7 @@
# temp hack
dir = os.getcwd()
-
+
# Copy products.zcml.in, if necessary
if (not os.path.exists('products.zcml')
and os.path.exists('products.zcml.in')
@@ -59,13 +59,13 @@
# Do global software config
from zope.app import config
config('site.zcml')
-
+
# Load server config
if (not os.path.exists('zserver.zcml')
and os.path.exists('zserver.zcml.in')
):
open('zserver.zcml', 'w').write(open('zserver.zcml.in').read())
-
+
from zope.configuration.xmlconfig import XMLConfig
XMLConfig(os.path.join(dir, 'zserver.zcml'))()