Commit 008651c5 authored by Raymond Hettinger's avatar Raymond Hettinger

Display the name not the group itself

parent f595a127
......@@ -621,7 +621,7 @@ def _parse(source, state):
if isname(condname):
condgroup = state.groupdict.get(condname)
if condgroup is None:
msg = "unknown group name: {0!r}".format(condgroup)
msg = "unknown group name: {0!r}".format(condname)
raise error(msg)
else:
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment