From ed49fe3db1babe0273e295067db9716a69bfbf88 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 3 Sep 2014 14:58:32 +0200 Subject: [PATCH] Removed leftover from the module system. --- flask/templating.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/flask/templating.py b/flask/templating.py index f964e55d..acd95859 100644 --- a/flask/templating.py +++ b/flask/templating.py @@ -67,14 +67,6 @@ class DispatchingJinjaLoader(BaseLoader): if loader is not None: yield loader, template - # old style module based loaders in case we are dealing with a - # blueprint that is an old style module - try: - module, local_name = posixpath.normpath(template).split('/', 1) - blueprint = self.app.blueprints[module] - except (ValueError, KeyError): - pass - for blueprint in itervalues(self.app.blueprints): loader = blueprint.jinja_loader if loader is not None: