def load(parser, token):
    bits = token.contents.split()
    for taglib in bits[1:]:
        # add the library to the parser
        try:
            lib = get_library("django.templatetags.%s" % taglib)
            parser.add_library(lib)
        except InvalidTemplateLibrary, e:
            raise TemplateSyntaxError("'%s' is not a valid tag library: %s" %
                                      (taglib, e))
    return LoadNode()
Test that importing a module twice in if
dataset/ETHPy150Open dcramer/django-compositepks/django/template/defaulttags.py/load--crossover with--dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_imports.py/Test.test_redefinedIfElse