[Zope3-checkins] CVS: Zope3/src/zope/app/dublincore -
creatorannotator.py:1.5
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Dec 14 03:26:04 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/dublincore
In directory cvs.zope.org:/tmp/cvs-serv1651/src/zope/app/dublincore
Modified Files:
creatorannotator.py
Log Message:
I remember that we were too lazy after ZCMLgeddon to require the principal
and role ids to be Id fields, since it required many places to change.
While I was writing on the devel cookbook, I saw the metadirectives for the
security again and could not resist fixing it.
All tests pass now and Zope seems to run fine as well.
=== Zope3/src/zope/app/dublincore/creatorannotator.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/dublincore/creatorannotator.py:1.4 Fri Jun 6 17:21:46 2003
+++ Zope3/src/zope/app/dublincore/creatorannotator.py Sun Dec 14 03:25:33 2003
@@ -41,6 +41,6 @@
return
principalid = principal.getId()
if not principalid in dc.creators:
- dc.creators = dc.creators + (principalid, )
+ dc.creators = dc.creators + (unicode(principalid), )
CreatorAnnotator = CreatorAnnotatorClass()
More information about the Zope3-Checkins
mailing list