[Zope3-checkins] CVS: Zope3/src/zope/app/schemagen - schemaspec.py:1.1.2.2 typereg.py:1.1.2.2

Jim Fulton jim@zope.com
Tue, 24 Dec 2002 07:51:46 -0500


Update of /cvs-repository/Zope3/src/zope/app/schemagen
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/schemagen

Modified Files:
      Tag: NameGeddon-branch
	schemaspec.py typereg.py 
Log Message:
Searched for and changed over 1200 references to Zope.something.

Most of these were either comments, doc strings, or permission ids.

Many were imports or ids in zcml.  (much zcml fixup is still needed.



=== Zope3/src/zope/app/schemagen/schemaspec.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/schemagen/schemaspec.py:1.1.2.1	Mon Dec 23 14:32:13 2002
+++ Zope3/src/zope/app/schemagen/schemaspec.py	Tue Dec 24 07:51:15 2002
@@ -20,7 +20,7 @@
 from persistence import Persistent
 from zope.app.schemagen.modulegen import generateModuleSource
 
-_helper_import = 'from Zope.App.schemagen import schemaspec'
+_helper_import = 'from zope.app.schemagen import schemaspec'
 _helper_module = 'schemaspec'
 
 class SchemaSpec(Persistent):


=== Zope3/src/zope/app/schemagen/typereg.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/schemagen/typereg.py:1.1.2.1	Mon Dec 23 14:32:13 2002
+++ Zope3/src/zope/app/schemagen/typereg.py	Tue Dec 24 07:51:15 2002
@@ -133,11 +133,11 @@
     getTypes = staticmethod(getTypes)
 
     def _getImportList(field):
-        import Zope.Schema
+        import zope.schema
 
         field_class = type(field)
-        if getattr(Zope.Schema, field_class.__name__, None) is field_class:
-            module_name = 'Zope.Schema'
+        if getattr(zope.schema, field_class.__name__, None) is field_class:
+            module_name = 'zope.schema'
         else:
             module_name = field_class.__module__
         return [(module_name, field_class.__name__)]