[CMF-checkins] CVS: CMF/CMFDefault - DiscussionItem.py:1.39
DublinCore.py:1.31
Yvo Schubbe
schubbe at web.de
Thu Jan 1 07:08:07 EST 2004
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv14531/CMFDefault
Modified Files:
DiscussionItem.py DublinCore.py
Log Message:
- ported chrism's fix for DiscussionItem to DublinCore
- removed useless line in DiscussionItem (copy 'n' paste bug)
=== CMF/CMFDefault/DiscussionItem.py 1.38 => 1.39 ===
--- CMF/CMFDefault/DiscussionItem.py:1.38 Thu Jan 1 00:57:30 2004
+++ CMF/CMFDefault/DiscussionItem.py Thu Jan 1 07:08:06 2004
@@ -109,7 +109,6 @@
"""
if not hasattr(aq_base(self), 'creators'):
# for content created with CMF versions before 1.5
- owner = self.getOwner()
if hasattr(aq_base(self), 'creator') and self.creator != 'unknown':
self.creators = ( self.creator, )
else:
=== CMF/CMFDefault/DublinCore.py 1.30 => 1.31 ===
--- CMF/CMFDefault/DublinCore.py:1.30 Tue Dec 23 16:47:24 2003
+++ CMF/CMFDefault/DublinCore.py Thu Jan 1 07:08:06 2004
@@ -123,7 +123,7 @@
def listCreators(self):
""" List Dublin Core Creator elements - resource authors.
"""
- if not hasattr(self, 'creators'):
+ if not hasattr(aq_base(self), 'creators'):
# for content created with CMF versions before 1.5
owner = self.getOwner()
if hasattr(owner, 'getId'):
More information about the CMF-checkins
mailing list