[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content - 18nfile.py:1.1.2.2 file.py:1.1.2.2
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:39 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/interfaces/content
Modified Files:
Tag: NameGeddon-branch
18nfile.py file.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/interfaces/content/18nfile.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/interfaces/content/18nfile.py:1.1.2.1 Mon Dec 23 14:31:48 2002
+++ Zope3/src/zope/app/interfaces/content/18nfile.py Tue Dec 24 07:51:08 2002
@@ -85,10 +85,6 @@
return file
- ############################################################
- # Implementation methods for interface
- # Zope.App.OFS.IFile.IFile
-
def setContentType(self, contentType):
'''See interface IFile'''
self._contentType = contentType
@@ -139,18 +135,18 @@
# II18nAware.py
def getDefaultLanguage(self):
- 'See Zope.I18n.II18nAware.II18nAware'
+ 'See II18nAware'
return self.defaultLanguage
def setDefaultLanguage(self, language):
- 'See Zope.I18n.II18nAware.II18nAware'
+ 'See II18nAware'
if not self._data.has_key(language):
raise ValueError, \
'cannot set nonexistent language (%s) as default' % language
self.defaultLanguage = language
def getAvailableLanguages(self):
- 'See Zope.I18n.II18nAware.II18nAware'
+ 'See II18nAware'
return self._data.keys()
#
=== Zope3/src/zope/app/interfaces/content/file.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/interfaces/content/file.py:1.1.2.1 Mon Dec 23 14:31:48 2002
+++ Zope3/src/zope/app/interfaces/content/file.py Tue Dec 24 07:51:08 2002
@@ -20,14 +20,14 @@
class IReadFile(Interface):
- contentType = Zope.Schema.BytesLine(
+ contentType = zope.schema.BytesLine(
title = u'Content Type',
description=u'The content type identifies the type of data.',
default = 'text/plain',
)
- data = Zope.Schema.Bytes(
+ data = zope.schema.Bytes(
title = u'Data',
description = u'The actual content of the object.',
)