Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a syntax error on Python 3

  • Loading branch information...
commit f25707c4205e8f49cfd528eaaa180ef20fc439e2 1 parent f18deb6
@mitsuhiko authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  jinja2/bccache.py
View
3  jinja2/bccache.py
@@ -224,7 +224,8 @@ def _get_default_cache_dir(self):
dirname = '_jinja2-cache-%d' % os.getuid()
actual_dir = os.path.join(tmpdir, dirname)
try:
- os.mkdir(actual_dir, 0700)
+ # 448 == 0700
+ os.mkdir(actual_dir, 448)
except OSError as e:
if e.errno != errno.EEXIST:
raise
Please sign in to comment.
Something went wrong with that request. Please try again.