[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - dtmlpageeval.py:1.1.2.3 file.py:1.1.2.2 folder.py:1.1.2.2 sql.py:1.1.2.2 zpt.py:1.1.2.2
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 21:21:44 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/content
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/browser/content
Modified Files:
Tag: NameGeddon-branch
dtmlpageeval.py file.py folder.py sql.py zpt.py
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py. The
files are fixed-points of that script now. Fixed a few cases where
code relied on significant trailing whitespace (ouch).
=== Zope3/src/zope/app/browser/content/dtmlpageeval.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/content/dtmlpageeval.py:1.1.2.2 Mon Dec 23 18:52:29 2002
+++ Zope3/src/zope/app/browser/content/dtmlpageeval.py Tue Dec 24 21:20:12 2002
@@ -2,14 +2,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.
-#
+#
##############################################################################
"""Define view component for ZPT page eval results.
@@ -26,4 +26,3 @@
template = self.context
return template.render(REQUEST, **kw)
-
=== Zope3/src/zope/app/browser/content/file.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/file.py:1.1.2.1 Mon Dec 23 14:31:04 2002
+++ Zope3/src/zope/app/browser/content/file.py Tue Dec 24 21:20:12 2002
@@ -2,14 +2,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.
-#
+#
##############################################################################
"""
@@ -47,8 +47,7 @@
"""
data = CustomWidget(FileWidget)
-
-
-__doc__ = FileUpload.__doc__ + __doc__
+
+__doc__ = FileUpload.__doc__ + __doc__
=== Zope3/src/zope/app/browser/content/folder.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/folder.py:1.1.2.1 Mon Dec 23 14:31:04 2002
+++ Zope3/src/zope/app/browser/content/folder.py Tue Dec 24 21:20:12 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 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.
-#
+#
##############################################################################
"""
@@ -20,5 +20,5 @@
from zope.app.interfaces.content.folder import IFolderAdding
class FolderAdding(Adding):
-
+
__implements__ = IFolderAdding
=== Zope3/src/zope/app/browser/content/sql.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/sql.py:1.1.2.1 Mon Dec 23 14:31:04 2002
+++ Zope3/src/zope/app/browser/content/sql.py Tue Dec 24 21:20:12 2002
@@ -2,14 +2,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.
-#
+#
##############################################################################
"""
$Id$
@@ -30,13 +30,13 @@
form = self.request.form
arguments = {}
for arg in self.context.getArguments().items():
- value = form.get(arg[0])
- if value is None:
- value = arg[1].get('default')
- if value is not None:
- arguments[arg[0].encode('UTF-8')] = value
+ value = form.get(arg[0])
+ if value is None:
+ value = arg[1].get('default')
+ if value is not None:
+ arguments[arg[0].encode('UTF-8')] = value
return arguments
-
+
def getTestResults(self):
try:
return self.context(**self.getArguments())
=== Zope3/src/zope/app/browser/content/zpt.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/zpt.py:1.1.2.1 Mon Dec 23 14:31:04 2002
+++ Zope3/src/zope/app/browser/content/zpt.py Tue Dec 24 21:20:12 2002
@@ -2,14 +2,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.
-#
+#
##############################################################################
"""Define view component for ZPT page eval results.
@@ -30,4 +30,3 @@
template.content_type)
return template.render(REQUEST, **kw)
-