提交 9899c9c2 authored 作者: superantichrist's avatar superantichrist 提交者: GitHub

_name_for_ctx do not iter for loop enough

_name_for_ctx do not iter for loop enough raise identation error fixed
上级 c1dfa69c
......@@ -82,7 +82,7 @@ def _name_for_ctx(ctx):
for k, v in iteritems(_context_reg):
if v == ctx:
return k
raise ContextNotDefined('context is not registered')
raise ContextNotDefined('context is not registered')
# This is a private method for use by the tests only
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论