From bdfd0632b3541f99f2086a27987cd2707806ab14 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 24 Aug 2013 01:32:47 -0400 Subject: [PATCH] A couple very minor nitpicks. --- mwparserfromhell/nodes/tag.py | 2 +- mwparserfromhell/parser/tokenizer.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mwparserfromhell/nodes/tag.py b/mwparserfromhell/nodes/tag.py index 80b8a88..06f43d0 100644 --- a/mwparserfromhell/nodes/tag.py +++ b/mwparserfromhell/nodes/tag.py @@ -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 diff --git a/mwparserfromhell/parser/tokenizer.py b/mwparserfromhell/parser/tokenizer.py index 6ab549a..1061b9f 100644 --- a/mwparserfromhell/parser/tokenizer.py +++ b/mwparserfromhell/parser/tokenizer.py @@ -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