[Zope-Checkins] CVS: Zope/lib/python/Products/ZopeTutorial - TutorialTopic.py:1.13.4.1
Chris McDonough
chrism@zope.com
Sat, 26 Oct 2002 15:52:16 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZopeTutorial
In directory cvs.zope.org:/tmp/cvs-serv31373/lib/python/Products/ZopeTutorial
Modified Files:
Tag: chrism-install-branch
TutorialTopic.py
Log Message:
Merge with HEAD. Again, sorry for the spew (what's left of it... someone seems to have filtered some of this branch's checkins out).
=== Zope/lib/python/Products/ZopeTutorial/TutorialTopic.py 1.13 => 1.13.4.1 ===
--- Zope/lib/python/Products/ZopeTutorial/TutorialTopic.py:1.13 Wed Aug 14 18:25:19 2002
+++ Zope/lib/python/Products/ZopeTutorial/TutorialTopic.py Sat Oct 26 15:51:45 2002
@@ -198,7 +198,7 @@
if 'Owner' in roles:
obj.manage_delLocalRoles([user])
break
- obj.manage_setLocalRoles(owner.getUserName(), ['Owner'])
+ obj.manage_setLocalRoles(owner.getId(), ['Owner'])
for subobj in obj.objectValues():
changeOwner(subobj, owner)