[Zope] DeprecationWarning: the regsub module ...

eric.n.dunn@bankofamerica.com eric.n.dunn@bankofamerica.com
Fri, 17 May 2002 10:01:46 -0400


1. Does anyone know if this DeprecationWarning has to be fixed and if so
how?


* $ /zope251/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub
module is deprecated; please use re.sub()
  DeprecationWarning)


2.  What's the best way to fix these two ZDConfera issues?
------
** 2002-05-17T13:49:00 PROBLEM(100) Init Ambiguous name for method of
Products.ZDConfera.ZDConfera.ZDConferaItem: "manage_editForm" != "manage"
------
** 2002-05-17T13:49:00 PROBLEM(100) Init Ambiguous name for method of
Products.ZDConfera.ZDConfera.ZDConferaItem: "manage_editForm" !=
"manage_main"

Original code running in /lib/python/Products/ZDConfera/ZDConfera.py:

class ZDConferaItem(ZDiscussions.ZDItem):
    """This class provides some compatability functions to help
    make it looks like a Confera Message/Reply"""

    meta_type = 'Message'
    icon = 'misc_/ZDConfera/message.gif'
    root = 0

    manage_editForm = HTMLFile('editMessageForm', globals())
    manage = manage_main = manage_editForm