FIX: oct number issue for Python 2/3 compatible code

change 00xxx or 0xxx to 0oxxx

Story: 2002909
Task:  24561

Change-Id: I1e1ab809a6a1f68a7a1d20e13add314cda554ba5
Signed-off-by: Sun Austin <austin.sun@intel.com>
This commit is contained in:
Sun Austin 2018-12-17 19:44:33 +08:00
parent 710d6ea19d
commit d1dc7bdf90
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class LogMgmtDaemon():
my_exec = os.path.basename(sys.argv[0])
if not os.path.exists(LOG_DIR):
os.mkdir(LOG_DIR, 0755)
os.mkdir(LOG_DIR, 0o755)
log_format = '%(asctime)s: ' \
+ my_exec + '[%(process)s]: ' \