raise an InvalidTemplateLibrary exception with an argument string "Template library %s does not have a variable named 'register'",
raise InvalidTemplateLibrary ( "Template library %s does not have " "a variable named 'register'" % taglib_module )