I'm running into an issue of getting older python/pylons code to work
with an updated version of pylons:
File "/var/www/management/config/middleware.py", line 8, in <module>
from pylons.error import error_template
ImportError: cannot import name error_template
So it appears error_template is no longer available from
pylons.error
What could I use in its place, if anything?
Python and Pylons version:
Python 2.6.6 (r266:84292, May 1 2012, 13:52:17)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylons
>>> pylons
<module 'pylons' from
'/usr/lib/python2.6/site-packages/Pylons-1.0-py2.6.egg/pylons/__init__.pyc'>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/Z0JkGgXSCa0J.
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.