Hello,

On 4/28/07, Robert Leftwich <[EMAIL PROTECTED]> wrote:
>
>
> No, but the Myghty code has:
>
> if type(component) == types.StringType:
>     component = self.fetch_lead_component(component)
> elif component.is_file_component():
>     ...


I think the code is flawed and a patch should be filed. Something along the
lines of

if isinstance(component, (str, unicode)):
   component = self.fetch_lead_component(component)

Max.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to