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. Change-Id: I1cb8abda9a59fb68b066cddcc4cb394fa56060aa Story: 2003433 Task: 25734 Signed-off-by: zhangyangyang <zhangyangyang@unionpay.com>
This commit is contained in:
parent
cede41ecf8
commit
3bc6628096
@ -73,10 +73,10 @@ def main():
|
||||
# Load the existing metadata
|
||||
allpatches.load_all_metadata(committed_dir, constants.COMMITTED)
|
||||
else:
|
||||
os.mkdir(output, 0755)
|
||||
os.mkdir(datadir, 0755)
|
||||
os.mkdir(committed_dir, 0755)
|
||||
os.mkdir(pkgdir, 0755)
|
||||
os.mkdir(output, 0o755)
|
||||
os.mkdir(datadir, 0o755)
|
||||
os.mkdir(committed_dir, 0o755)
|
||||
os.mkdir(pkgdir, 0o755)
|
||||
|
||||
# Save the current directory, so we can chdir back after
|
||||
orig_wd = os.getcwd()
|
||||
|
Loading…
Reference in New Issue
Block a user