Kaydet (Commit) 008651c5 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Display the name not the group itself

üst f595a127
...@@ -621,7 +621,7 @@ def _parse(source, state): ...@@ -621,7 +621,7 @@ def _parse(source, state):
if isname(condname): if isname(condname):
condgroup = state.groupdict.get(condname) condgroup = state.groupdict.get(condname)
if condgroup is None: if condgroup is None:
msg = "unknown group name: {0!r}".format(condgroup) msg = "unknown group name: {0!r}".format(condname)
raise error(msg) raise error(msg)
else: else:
try: 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