misc: update various parts for Python 3 compatibility (missed bit, pt2) (#36093)
This commit is contained in:
parent
b18d94d3d8
commit
98f200f348
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue