]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fixed a docstring and a syntax error on 3.3
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 19 May 2013 12:47:33 +0000 (13:47 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 19 May 2013 12:47:33 +0000 (13:47 +0100)
jinja2/_compat.py
jinja2/testsuite/inheritance.py

index 7825cb6ac6e7bc3115ab9a950247e188e86931f8..8c1963c497cf46913b77482fefbf3cdcdf0a015e 100644 (file)
@@ -4,9 +4,9 @@
     ~~~~~~~~~~~~~~
 
     Some py2/py3 compatibility support that is not yet available in
-     "six" 1.3.0.
-    There are bugs open for "six" for all this stuff, so we can remove it
-    again from here as soon as we require a new enough "six" release.
+    "six" 1.3.0.  Generally all uses of six should go through this module
+    so that we have one central place to remove stuff from when we
+    eventually drop 2.x.
 
     :copyright: Copyright 2013 by the Jinja team, see AUTHORS.
     :license: BSD, see LICENSE for details.
index a5b946587fcc0752290356c81d34811ecfcd00a1..e0f51cda9206ef9666b0004115b5c22e496fae4f 100644 (file)
@@ -239,7 +239,7 @@ class BugFixTestCase(JinjaTestCase):
         """
         try:
             tmpl = env.get_template('doublee')
-        except Exception, e:
+        except Exception as e:
             assert isinstance(e, TemplateError)