Hello.

After installing dev pylons version, paster shell stopped working. The
following patch fixed the problem:

--- a/pylons/commands.py        Tue May 12 19:02:50 2009 -0700
+++ b/pylons/commands.py        Wed Jul 08 11:51:36 2009 +0700
@@ -481,7 +481,7 @@
         if can_import(helpers_module):
             locs['h'] = sys.modules[helpers_module]

-        exec ('from pylons import app_globals, c, config, g, request,
'
+        exec ('from pylons import app_globals, config, request, '
               'response, session, tmpl_context, url') in locs
         exec ('from pylons.controllers.util import abort,
redirect_to') in locs
         exec 'from pylons.i18n import _, ungettext, N_' in locs

Do I understand right, that c and g are not defined in pylons anymore,
so they should be excluded from import? Why then they are defined in
__all__ in __init__.py ?

Regards,
George Fatkin.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to