Skip to content
Myr

Merge branch '2.7-maintenance'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents 377b9b5, 8fc231a · Browse files · 3 files+16 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+16 added−3 removed

  • other:+16 added−3 removed

3 files+16 added−3 removed

modified:jinja2/bccache.py+9 added-1 removed
238 unmodified lines
239 if actual_dir_stat.st_uid != os.getuid() \240 or not stat.S_ISDIR(actual_dir_stat.st_mode) \241 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU:242 _unsafe_dir()243 except OSError:243 except OSError as e:244 if e.errno != errno.EEXIST:245 raise246247 actual_dir_stat = os.lstat(actual_dir)248 if actual_dir_stat.st_uid != os.getuid() \249 or not stat.S_ISDIR(actual_dir_stat.st_mode) \250 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU:251 _unsafe_dir()252253 return actual_dir254255 def _get_cache_filename(self, bucket):256 return path.join(self.directory, self.pattern % bucket.key)
101 unmodified lines
modified:CHANGES+7 added
15 unmodified lines
16 Python 2 to work when people break their default encoding.17- Added :func:`make_logging_undefined` which returns an undefined18 object that logs failures into a logger.1920Version 2.7.321-------------22(bugfix release, released on June 6th 2014)2324- Security issue: Corrected the security fix for the cache folder. This25 fix was provided by RedHat.2627Version 2.7.228-------------29(bugfix release, released on January 10th 2014)30
320 unmodified lines
modified:setup.py-2 removed
33 unmodified lines
34.. _Django: http://www.djangoproject.com/35.. _Jinja2 webpage: http://jinja.pocoo.org/36.. _documentation: http://jinja.pocoo.org/2/documentation/37"""38import sys3938from setuptools import setup394041setup(
33 unmodified lines