Explorar el Código

A rogue print statement appears!

tags/v0.1
Ben Kurtovic hace 11 años
padre
commit
889fd316d3
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. +0
    -1
      mwparserfromhell/parser/tokenizer.py

+ 0
- 1
mwparserfromhell/parser/tokenizer.py Ver fichero

@@ -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())


Cargando…
Cancelar
Guardar