Sfoglia il codice sorgente

A couple very minor nitpicks.

tags/v0.3
Ben Kurtovic 10 anni fa
parent
commit
bdfd0632b3
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -1
      mwparserfromhell/nodes/tag.py
  2. +1
    -0
      mwparserfromhell/parser/tokenizer.py

+ 1
- 1
mwparserfromhell/nodes/tag.py Vedi File

@@ -22,7 +22,7 @@

from __future__ import unicode_literals

from . import Node, Text
from . import Node
from .extras import Attribute
from ..compat import str
from ..definitions import is_visible


+ 1
- 0
mwparserfromhell/parser/tokenizer.py Vedi File

@@ -35,6 +35,7 @@ class BadRoute(Exception):
"""Raised internally when the current tokenization route is invalid."""

def __init__(self, context=0):
super(BadRoute, self).__init__()
self.context = context




Caricamento…
Annulla
Salva