summaryrefslogtreecommitdiff
path: root/cherrypy/lib/reprconf.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-02-23 12:32:07 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-02-23 12:32:07 -0500
commit1d384ca869fc479ad91a9a3a110f9a8059851721 (patch)
tree0b3c3b228473329aaf107cdefb39d393ac9a53e8 /cherrypy/lib/reprconf.py
parent63a3a946fcd662257bdec4febf4f8805dcaf3156 (diff)
parent3db790ab045e8b34969f202d892ce62b6907234a (diff)
downloadcherrypy-git-1d384ca869fc479ad91a9a3a110f9a8059851721.tar.gz
Merge with cherrypy-3.2.x (3.2.5)
Diffstat (limited to 'cherrypy/lib/reprconf.py')
-rw-r--r--cherrypy/lib/reprconf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cherrypy/lib/reprconf.py b/cherrypy/lib/reprconf.py
index 32f4dda0..67ed9f3c 100644
--- a/cherrypy/lib/reprconf.py
+++ b/cherrypy/lib/reprconf.py
@@ -419,6 +419,9 @@ class _Builder3:
raise TypeError("unrepr could not resolve the name %s" % repr(name))
+ def build_NameConstant(self, o):
+ return o.value
+
def build_UnaryOp(self, o):
op, operand = map(self.build, [o.op, o.operand])
return op(operand)