[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content - file.py:1.1.2.3
Fred L. Drake, Jr.
fred@zope.com
Tue, 24 Dec 2002 09:43:45 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv21953
Modified Files:
Tag: NameGeddon-branch
file.py
Log Message:
Minor cleanup
=== Zope3/src/zope/app/interfaces/content/file.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/interfaces/content/file.py:1.1.2.2 Tue Dec 24 07:51:08 2002
+++ Zope3/src/zope/app/interfaces/content/file.py Tue Dec 24 09:43:44 2002
@@ -2,24 +2,26 @@
#
# 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.
-#
+#
##############################################################################
"""Basic File interfaces.
$Id$
"""
-from zope.interface import Interface
import zope.schema
+from zope.interface import Interface
+
+
class IReadFile(Interface):
-
+
contentType = zope.schema.BytesLine(
title = u'Content Type',
description=u'The content type identifies the type of data.',
@@ -44,7 +46,6 @@
class IWriteFile(Interface):
-
def edit(data, contentType=None):
"""Sets the data and the content type for the object.
@@ -64,13 +65,6 @@
a file as a Zope Content object.
"""
-
-
-
-"""
-$Id$
-"""
-from zope.interface import Interface
class IFileContent(Interface):
@@ -80,7 +74,3 @@
/. In particular, if the content included HTML, relative links in
the HTML are relative to the container the content is in.
"""
-
-
-
-