[Zope-CMF] [dev] a portal_skins issue

Sidnei da Silva sidnei at awkly.org
Sat Feb 7 17:35:53 EST 2004


|                  # of the new skinob.
| -                skinob = partob.__of__(skinob)
| +                partob = aq_base(partob)
| +                if skinob is None:
| +                    skinob = partob
| +                else:
| +                    skinob = partob.__of__(skinob)

If skinob is None, it will return an object without acquisition
context. Is that what you intended?

-- 
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://plone.org/about/team#dreamcatcher

Sic transit discus mundi
	-- From the System Administrator's Guide, by Lars Wirzenius



More information about the Zope-CMF mailing list