misc: update various parts for Python 3 compatibility (missed bit, pt2) (#36093)

This commit is contained in:
Frédéric Péters 2019-09-13 13:50:51 +02:00
parent b18d94d3d8
commit 98f200f348
1 changed files with 1 additions and 1 deletions

View File

@ -54,6 +54,6 @@ class Command(BaseCommand):
raise CommandError('tenant creation failed (%s)' % str(e))
for folder in ('media', 'static', 'templates'):
path = os.path.join(tenant_dir_tmp, folder)
os.mkdir(path, 0755)
os.mkdir(path, 0o755)
# activate the tenant by creating its directory
os.rename(tenant_dir_tmp, tenant_dir)