[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI - IconDirective.py:1.1.2.2 StandardMacros.py:1.1.2.2 TabsDirective.py:1.1.2.4 ZMIViewUtility.py:1.1.2.4 provideClass.py:1.1.2.10

Tres Seaver tseaver@zope.com
Tue, 12 Feb 2002 15:56:36 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI
In directory cvs.zope.org:/tmp/cvs-serv19744/Zope/App/ZMI

Modified Files:
      Tag: Zope-3x-branch
	IconDirective.py StandardMacros.py TabsDirective.py 
	ZMIViewUtility.py provideClass.py 
Log Message:


  - Normalize file headers.

  - Fix violations of "80 character" rule.


=== Zope3/lib/python/Zope/App/ZMI/IconDirective.py 1.1.2.1 => 1.1.2.2 ===
 """
 
-Revision information: $Id$
+$Id$
 """
 
 def IconDirective(for_, file):


=== Zope3/lib/python/Zope/App/ZMI/StandardMacros.py 1.1.2.1 => 1.1.2.2 ===
 """
 
-Revision information: $Id$
+$Id$
 """
 
 from Zope.PageTemplate import SimpleViewClass


=== Zope3/lib/python/Zope/App/ZMI/TabsDirective.py 1.1.2.3 => 1.1.2.4 ===
 """
 
-Revision information: $Id$
+$Id$
 """
 
 from Zope.Configuration.ConfigurationDirectiveInterfaces \


=== Zope3/lib/python/Zope/App/ZMI/ZMIViewUtility.py 1.1.2.3 => 1.1.2.4 ===
 """
 
-Revision information: $Id$
+$Id$
 """
 
 from Zope.ComponentArchitecture.ContextDependent import ContextDependent


=== Zope3/lib/python/Zope/App/ZMI/provideClass.py 1.1.2.9 => 1.1.2.10 ===
+#
+# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 1.1 (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.
+##############################################################################
+""" ZMI Addable Registration
+
+$Id$
+"""
 
-""" ZMI Addable Registration """
 
 from Zope.ComponentArchitecture.IFactory import IFactory
 from Zope.ComponentArchitecture import provideFactory
@@ -24,7 +32,8 @@
         return self._class()
 
 
-def provideClass(registry, qualified_name, _class, permission, title, description=''):
+def provideClass(registry, qualified_name, _class, permission,
+                 title, description=''):
     """Provide simple class setup
 
     - create a component
@@ -42,14 +51,16 @@
 def ServiceClassDir(name, permission_id, title, description=''):
     return ((name,
              provideClass,
-             (Addable.ServiceAddables,name, resolve(name), permission_id, title, description)
+             (Addable.ServiceAddables, name, resolve(name),
+              permission_id, title, description)
              ),)
 
 
 def ContentClassDir(name, permission_id, title, description=''):
     return ((name,
              provideClass,
-             (Addable.ContentAddables,name, resolve(name), permission_id, title, description)
+             (Addable.ContentAddables, name, resolve(name),
+              permission_id, title, description)
              ),)