[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - IFile.py:1.5 FileFields.py:NONE
Jim Fulton
jim@zope.com
Thu, 5 Sep 2002 14:55:33 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/File
In directory cvs.zope.org:/tmp/cvs-serv21741/lib/python/Zope/App/OFS/Content/File
Modified Files:
IFile.py
Removed Files:
FileFields.py
Log Message:
Moved the Schema package into the Zope package.
Also cleaned up a bunch of "from x import *".
=== Zope3/lib/python/Zope/App/OFS/Content/File/IFile.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/OFS/Content/File/IFile.py:1.4 Wed Sep 4 09:44:25 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/File/IFile.py Thu Sep 5 14:55:02 2002
@@ -18,18 +18,18 @@
from Interface import Interface
from Zope.App.OFS.Content.IFileContent import IFileContent
-import Schema
+import Zope.Schema
class IReadFile(IFileContent):
- contentType = Schema.Str(
+ contentType = Zope.Schema.Str(
title = 'Content Type',
description = 'The content type identifies the type of data.',
default = 'text/plain',
)
- data = Schema.Str(
+ data = Zope.Schema.Str(
title = 'Data',
description = 'The actual content of the object.',
)
=== Removed File Zope3/lib/python/Zope/App/OFS/Content/File/FileFields.py ===