Hi Everyone,

The deprecation warning while testing Product module is

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



Is it enough to define a new sub class of Exception which accept
error_type,v as arguments and just print these messages to fix this
warning?

Many of the the warnings in other modules are found similar to this warning.


regards
vyshakh
_______________________________________________
Zope-Dev maillist  -  [email protected]
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