Skip to content

Import of cherrypy.lib.cpstats fails #1444

@cachedout

Description

@cachedout

Using CherryPy 4.0.0 downloaded from PyPi:

>>> from cherrypy.lib import cpstats
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/cherrypy/lib/cpstats.py", line 438, in <module>
    class StatsPage(object):
  File "/usr/lib/python2.7/site-packages/cherrypy/lib/cpstats.py", line 478, in StatsPage
    @cherrypy.exposed
AttributeError: 'module' object has no attribute 'exposed'
>>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions