diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-08-17 15:16:20 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-08-17 15:16:20 -0400 |
commit | 991a69b27e64cc5d0258992bccf641722141f45e (patch) | |
tree | 647aa6e06958cd685f52ba840fda42199caad5bc | |
parent | 9b098bea396b2cc05d31ac11c5ea162431223a54 (diff) | |
download | cherrypy-git-991a69b27e64cc5d0258992bccf641722141f45e.tar.gz |
There's no attributes in cherrypy.lib, reference it from reprconf.
-rw-r--r-- | cherrypy/_cprequest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/_cprequest.py b/cherrypy/_cprequest.py index 6c50cd52..e5dd6062 100644 --- a/cherrypy/_cprequest.py +++ b/cherrypy/_cprequest.py @@ -142,7 +142,7 @@ def hooks_namespace(k, v): # Little-known fact you only get from reading source ;) hookpoint = k.split('.', 1)[0] if isinstance(v, text_or_bytes): - v = cherrypy.lib.attributes(v) + v = cherrypy.lib.reprconf.attributes(v) if not isinstance(v, Hook): v = Hook(v) cherrypy.serving.request.hooks[hookpoint].append(v) |