Browse Source

A couple very minor nitpicks.

tags/v0.3
Ben Kurtovic 11 years ago
parent
commit
bdfd0632b3
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      mwparserfromhell/nodes/tag.py
  2. +1
    -0
      mwparserfromhell/parser/tokenizer.py

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

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


from __future__ import unicode_literals from __future__ import unicode_literals


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


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

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


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






Loading…
Cancel
Save