summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipaclient/ipachangeconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-client/ipaclient/ipachangeconf.py')
-rw-r--r--ipa-client/ipaclient/ipachangeconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-client/ipaclient/ipachangeconf.py b/ipa-client/ipaclient/ipachangeconf.py
index edf34f5ae..2c3185716 100644
--- a/ipa-client/ipaclient/ipachangeconf.py
+++ b/ipa-client/ipaclient/ipachangeconf.py
@@ -481,7 +481,7 @@ class IPAChangeConf:
# we want to fail in that case
shutil.copy2(file, (file + ".ipabkp"))
- f = openLocked(file, 0644)
+ f = openLocked(file, 0o644)
oldopts = self.parse(f)
@@ -520,7 +520,7 @@ class IPAChangeConf:
# The orign file did not exist
pass
- f = openLocked(file, 0644)
+ f = openLocked(file, 0o644)
# Trunkate
f.seek(0)