Tres Seaver wrote:
Hash: SHA1

Lennart Regebro wrote:

On 4/11/06, Takahashi, Michael <[EMAIL PROTECTED]> wrote:

I'm trying to write a function that checks to see if the current object is
a 'Folder'.

several ways:

   isinstance(object, Folder) # does not work in python scripts\

Don't forget 'sametype' inside PythonScripts:

   sametype(object, another_object)

You mean same_type ;)

Thank you and Cheers,

Suresh V.
CTO, ParTecs, Bangalore
Plone-Zope-Python Consulting

Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to