瀏覽代碼

A rogue print statement appears!

tags/v0.1
Ben Kurtovic 12 年之前
父節點
當前提交
889fd316d3
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. +0
    -1
      mwparserfromhell/parser/tokenizer.py

+ 0
- 1
mwparserfromhell/parser/tokenizer.py 查看文件

@@ -115,7 +115,6 @@ class Tokenizer(object):
self._push_textbuffer()
if self._stack:
text = [tok for tok in self._stack if isinstance(tok, tokens.Text)]
print text
text = "".join([token.text for token in text])
if text.strip() and "\n" in text.strip():
raise BadRoute(self._pop())


Loading…
取消
儲存