summaryrefslogtreecommitdiff
path: root/cherrypy/lib/covercp.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-06-06 19:38:50 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-06-06 19:38:50 -0400
commitf3c0165a372375d4ce49f70c6b00e1788db845a1 (patch)
tree0091e2e748abc904ed2cdd9a5f71f5c744439638 /cherrypy/lib/covercp.py
parente11c8613d6b4b7cf5d76c7c6ec8bbcdf9682d7f2 (diff)
downloadcherrypy-git-f3c0165a372375d4ce49f70c6b00e1788db845a1.tar.gz
Correct typos in expose decorator usage. Fixes #1444.
Diffstat (limited to 'cherrypy/lib/covercp.py')
-rw-r--r--cherrypy/lib/covercp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cherrypy/lib/covercp.py b/cherrypy/lib/covercp.py
index fa4626b2..dd58a0c9 100644
--- a/cherrypy/lib/covercp.py
+++ b/cherrypy/lib/covercp.py
@@ -293,11 +293,11 @@ class CoverStats(object):
root = os.path.dirname(cherrypy.__file__)
self.root = root
- @cherrypy.exposed
+ @cherrypy.expose
def index(self):
return TEMPLATE_FRAMESET % self.root.lower()
- @cherrypy.exposed
+ @cherrypy.expose
def menu(self, base="/", pct="50", showpct="",
exclude=r'python\d\.\d|test|tut\d|tutorial'):
@@ -355,7 +355,7 @@ class CoverStats(object):
buffer = []
yield template % (lineno, cgi.escape(line))
- @cherrypy.exposed
+ @cherrypy.expose
def report(self, name):
filename, statements, excluded, missing, _ = self.coverage.analysis2(
name)