Python 2.5 has no 0o### number syntax

This commit is contained in:
rdb 2014-09-15 12:54:30 +00:00
parent 0a999d2b6b
commit 2b26ef1e34
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ def makeInstaller():
if not os.path.exists(dst_panda3dapp): os.makedirs(os.path.dirname(dst_panda3dapp))
shutil.copytree(pluginFiles[npapi], dst_npapi)
shutil.copyfile(pluginFiles[panda3d], dst_panda3d)
os.chmod(dst_panda3d, 0o755)
os.chmod(dst_panda3d, 493) # 0o755
shutil.copytree(pluginFiles[panda3dapp], dst_panda3dapp)
tmpresdir = tempfile.mktemp('', 'p3d-resources')