Hello!

   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.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.


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

Reply via email to