Permalink
Browse files

Fixed a syntax error on Python 3

  • Loading branch information...
mitsuhiko committed Jan 10, 2014
1 parent f18deb6 commit f25707c4205e8f49cfd528eaaa180ef20fc439e2
Showing with 2 additions and 1 deletion.
  1. +2 −1 jinja2/bccache.py
View
@@ -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

0 comments on commit f25707c

Please sign in to comment.