Fixed extensions not loading properly with overlays
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 17 Oct 2010 14:44:19 +0000 (16:44 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 17 Oct 2010 14:44:19 +0000 (16:44 +0200)
CHANGES
jinja2/environment.py

diff --git a/CHANGES b/CHANGES
index cbeefa7af87acaa4240eba979dc43286b24a5a80..d07be9e372765b7fc67ebd84f298d99f0f5db6d8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,8 @@ Version 2.5.4
 -------------
 (bugfix release, release date to be announced)
 
+- Fixed extensions not loading properly with overlays.
+
 Version 2.5.3
 -------------
 (bugfix release, released on October 17th 2010)
index a94bc6eaedccc1947c2e81d16b897b53340dd5cc..ac74a5c68fd0d91538c16e6faaee7690502cec25 100644 (file)
@@ -335,7 +335,7 @@ class Environment(object):
         for key, value in self.extensions.iteritems():
             rv.extensions[key] = value.bind(rv)
         if extensions is not missing:
-            rv.extensions.update(load_extensions(extensions))
+            rv.extensions.update(load_extensions(rv, extensions))
 
         return _environment_sanity_check(rv)