From b2a476634ca801429557245517262678d3b95498 Mon Sep 17 00:00:00 2001 From: zhangyangyang Date: Sat, 1 Sep 2018 15:33:56 +0800 Subject: [PATCH] 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 --- build-tools/create_dependancy_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/create_dependancy_cache.py b/build-tools/create_dependancy_cache.py index 4f141175..30b1f03a 100755 --- a/build-tools/create_dependancy_cache.py +++ b/build-tools/create_dependancy_cache.py @@ -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={}