Commit 344c58b8 authored by nikhil n's avatar nikhil n

change for making zope2 work in Python2.5

parent 568cf22a
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
$Id$ $Id$
""" """
nasty_exception_str = Exception.__str__.im_func nasty_exception_str = getattr(Exception.__str__,'im_func',None)
def ustr(v): def ustr(v):
"""Convert any object to a plain string or unicode string, """Convert any object to a plain string or unicode string,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment