From 37d4b59a39caf2336f20dd946705200a9e11dad1 Mon Sep 17 00:00:00 2001 From: meejah Date: Fri, 24 Aug 2018 15:42:00 -0600 Subject: [PATCH] modern syntax --- src/allmydata/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/node.py b/src/allmydata/node.py index 132521f48..e3dab73cc 100644 --- a/src/allmydata/node.py +++ b/src/allmydata/node.py @@ -139,7 +139,7 @@ def create_node_dir(basedir, readme_text): fileutil.make_dirs(basedir) privdir = os.path.join(basedir, "private") if not os.path.exists(privdir): - fileutil.make_dirs(privdir, 0700) + fileutil.make_dirs(privdir, 0o700) with open(os.path.join(privdir, 'README'), 'w') as f: f.write(readme_text)