From: Armin Ronacher Date: Thu, 9 Jul 2009 19:55:29 +0000 (+0200) Subject: Renamed (undocumented) attribute overlay to overlayed on the environment X-Git-Tag: 2.2~15^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=619eeed0d09e0a8347532dbfb27347f3b6d9eea7;p=jinja2.git Renamed (undocumented) attribute overlay to overlayed on the environment because it was clashing with a method of the same name. The new attribute is called "overlayed". --HG-- branch : trunk --- diff --git a/CHANGES b/CHANGES index b218e87..1701f61 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,9 @@ Version 2.2 *before* the loop. (#331) - Added support for optional `scoped` modifier to blocks. - Added support for line-comments. +- Renamed (undocumented) attribute overlay to overlayed on the environment + because it was clashing with a method of the same name. The new attribute + is called "overlayed". Version 2.1.1 ------------- diff --git a/jinja2/environment.py b/jinja2/environment.py index 9b3193a..569b9b3 100644 --- a/jinja2/environment.py +++ b/jinja2/environment.py @@ -191,7 +191,7 @@ class Environment(object): sandboxed = False #: True if the environment is just an overlay - overlay = False + overlayed = False #: the environment this environment is linked to if it is an overlay linked_to = None @@ -303,7 +303,7 @@ class Environment(object): rv = object.__new__(self.__class__) rv.__dict__.update(self.__dict__) - rv.overlay = True + rv.overlayed = True rv.linked_to = self for key, value in args.iteritems():