Python 3 compatibility: fix oldoctinteger

For Python 3.0, "oldoctinteger" isn't supported already, and an exception
will be raised if a literal has a leading "0" and a second character
which is a digit.

Story: 2003595
Task: 25735

Change-Id: Iec0146f9287f9eab95984608528f6535c8301cf3
Signed-off-by: zhangyangyang <zhangyangyang@unionpay.com>
This commit is contained in:
zhangyangyang 2018-09-01 15:33:56 +08:00
parent 58b942baf1
commit b2a476634c
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ if options.third_party_repo_dir:
# Create directory if required
if not os.path.isdir(publish_cache_dir):
print("Creating directory: %s" % publish_cache_dir)
os.makedirs(publish_cache_dir, 0755)
os.makedirs(publish_cache_dir, 0o755)
# The Main data structure
pkg_data={}