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:
parent
58b942baf1
commit
b2a476634c
@ -111,7 +111,7 @@ if options.third_party_repo_dir:
|
|||||||
# Create directory if required
|
# Create directory if required
|
||||||
if not os.path.isdir(publish_cache_dir):
|
if not os.path.isdir(publish_cache_dir):
|
||||||
print("Creating directory: %s" % 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
|
# The Main data structure
|
||||||
pkg_data={}
|
pkg_data={}
|
||||||
|
Loading…
Reference in New Issue
Block a user