[Zope-Checkins] CVS: Zope/lib/python/Products/MIMETools - MIMETag.py:1.10 __init__.py:1.3
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 18:14:27 -0400
Update of /cvs-repository/Zope/lib/python/Products/MIMETools
In directory cvs.zope.org:/tmp/cvs-serv22432
Modified Files:
MIMETag.py __init__.py
Log Message:
Clean up indentation and trailing whitespace.
=== Zope/lib/python/Products/MIMETools/MIMETag.py 1.9 => 1.10 ===
--- Zope/lib/python/Products/MIMETools/MIMETag.py:1.9 Mon Mar 11 10:54:38 2002
+++ Zope/lib/python/Products/MIMETools/MIMETag.py Wed Aug 14 18:14:27 2002
@@ -1,14 +1,14 @@
##############################################################################
#
# Copyright (c) 2001 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
-#
+#
##############################################################################
__rcs_id__='$Id$'
__version__='$Revision$'[11:-2]
@@ -56,7 +56,7 @@
has_key=args.has_key
- if has_key('type'):
+ if has_key('type'):
type = args['type']
else:
type = 'application/octet-stream'
@@ -120,7 +120,7 @@
if has_key('skip_expr') and a['skip_expr'].eval(md):
continue
-
+
inner = mw.nextpart()
if has_key('type_expr'): t=a['type_expr'].eval(md)
@@ -134,7 +134,7 @@
if has_key('name_expr'): n=a['name_expr'].eval(md)
else: n=a['name']
-
+
if has_key('filename_expr'): f=a['filename_expr'].eval(md)
else: f=a['filename']
@@ -175,8 +175,3 @@
String.commands['mime'] = MIMETag
-
-
-
-
-
=== Zope/lib/python/Products/MIMETools/__init__.py 1.2 => 1.3 ===
--- Zope/lib/python/Products/MIMETools/__init__.py:1.2 Wed Nov 28 10:50:59 2001
+++ Zope/lib/python/Products/MIMETools/__init__.py Wed Aug 14 18:14:27 2002
@@ -1,22 +1,17 @@
##############################################################################
#
# Copyright (c) 2001 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
-#
+#
##############################################################################
__doc__='''MIMETools Product Initialization
$Id$'''
__version__='$Revision$'[11:-2]
import MIMETag
-
-
-
-
-