Please help, I have a problem importing my zexp.

   Initially I created the exported zexp while debugging some External
Method. The method is declared as follows:

def navigation_leftColumn(self, _, render=default_render):

where default_render is a helper function, defined in the same .py file:

def default_render(self, _, alist=None, indent=0):

Later I deleted the entire folder and tried to import zexp to return to
saved position. Zope raise the error:

   "Cannot import default_render from module __main__". Oops! What's that?
The default_render isn't in __main__, sure. I tried to create External
Method before importing, but this didn't help :(

     Oleg Broytmann     http://www.zope.org/Members/phd/     [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to