Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Ticket #440 (defect)

Opened 3 years ago

Last modified 2 years ago

deprecationwarning in cherrypy.lib.filter should properly tell you where the problem is

Status: closed (fixed)

Reported by: anonymous Assigned to: rdelon
Priority: normal Milestone: 2.2-beta
Component: CherryPy code Keywords:
Cc:

It's a trivial change:

Index: cherrypy/lib/filter/__init__.py
===================================================================
--- cherrypy/lib/filter/__init__.py     (revision 926)
+++ cherrypy/lib/filter/__init__.py     (working copy)
@@ -1,5 +1,5 @@
 import warnings
-warnings.warn("cherrypy.lib.filter has been superseded by
cherrypy.filters and will be removed in CP 2.3")
+warnings.warn("cherrypy.lib.filter has been superseded by
cherrypy.filters and will be removed in CP 2.3", DeprecationWarning,
stacklevel=2)

 from cherrypy.filters import *

Change History

01/13/06 09:01:45: Modified by rdelon

  • status changed from new to assigned.

01/22/06 03:45:55: Modified by rdelon

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in [930]

04/23/06 16:55:59: Modified by fumanchu

  • cc deleted.
  • keywords deleted.
  • summary changed from 注册上海公司 to deprecationwarning in cherrypy.lib.filter should properly tell you where the problem is.

Hosted by WebFaction

Log in as guest/cpguest to create tickets