Bug 889669 - Use Python 3 compatible octal syntax; r=ted

And change the permissions to be more standard for a user directory.

DONTBUILD (NPOTB)
This commit is contained in:
Gregory Szorc 2013-07-02 17:32:38 -07:00
parent 448678d26c
commit 0715bcad95

View File

@ -127,7 +127,7 @@ def bootstrap(topsrcdir, mozilla_dir=None):
if not os.path.exists(state_env_dir):
print('Creating global state directory from environment variable: %s'
% state_env_dir)
os.makedirs(state_env_dir, mode=0777)
os.makedirs(state_env_dir, mode=0o770)
print('Please re-run mach.')
sys.exit(1)
else: