Hi everybody,

While porting Zope2 on Python2.5, I am now trying to remove the
deprecation warnings.Most of them are due to the raising of string
exceptions. One of such warnings in the module Products is

/home/zope/ztrunk25/lib/python/OFS/SimpleItem.py:248:
          DeprecationWarning: raising a string exception is deprecated
                      raise error_type, v, tb

These warnings can be removed by changing these string exceptions to
class based exceptions.
Can anyone suggest how these changes can be made?


With regards
Vyshakh
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to