From: Douglas Bagnall Date: Thu, 11 Oct 2018 05:32:52 +0000 (+1300) Subject: s4/scripting: py3 style 0o123 octal, not 0123 X-Git-Tag: tdb-1.3.17~1155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab7a3beb36b9b5e4f2e24835558ddcf765aafae;p=thirdparty%2Fsamba.git s4/scripting: py3 style 0o123 octal, not 0123 this works with py2.6+ too. Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- diff --git a/source4/scripting/devel/config_base b/source4/scripting/devel/config_base index e48d3a6ce14..0d495c5091b 100755 --- a/source4/scripting/devel/config_base +++ b/source4/scripting/devel/config_base @@ -26,7 +26,7 @@ config_dir = prefix + "/etc" config_file = config_dir + "/smb.conf" if not os.path.isdir(config_dir): - os.makedirs(config_dir, mode=0755) + os.makedirs(config_dir, mode=0o755) if not os.path.isfile(config_file): open(config_file, mode='w').close()