Re: AllowedTypesByIface breaks

Sidnei da Silva <sidnei-/awGbKECNgO/3pe1ocb+swC/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <20060213120245.GK5620@cotia>
On Sun, Feb 12, 2006 at 11:41:43PM -0000, Martin Aspeli wrote:
| I think AllowedTypesByIface should be fixed, but I don't know how best to  
| do it and work around any more crazy inheritance rules.

Easy one. Get a reference to the unbound method instead of the bound
method:

PortalFolder._verifyObjectPaste.im_func

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.