瀏覽代碼

Try to fix shadowing bug?

pull/24/head
Ben Kurtovic 10 年之前
父節點
當前提交
fbf263f0f2
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      templates/api.mako

+ 2
- 2
templates/api.mako 查看文件

@@ -4,7 +4,7 @@
% endfor
</%def>\
<%def name="walk_json(obj, indent=0)">
% if isinstance(obj, dict):
% if isinstance(obj, __builtins__.dict):
{
% for key, value in obj.iteritems():
${do_indent(indent + 1)}
@@ -12,7 +12,7 @@
% endfor
${do_indent(indent)}
}
% elif isinstance(obj, list):
% elif isinstance(obj, __builtins__.list):
[
% for member in obj:
${do_indent(indent + 1)}


Loading…
取消
儲存