aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/command.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-04-22 13:19:27 +0200
committerGuido Günther <agx@sigxcpu.org>2014-04-22 13:35:01 +0200
commitf5d3643965f51748b08b616b2898e53242673a67 (patch)
tree23a8b9d61a211dc9d6cb256650ed45c57d1649d9 /whatmaps/command.py
parentc62b6858897306d25ac6018bc11d6abb39733bac (diff)
Use python3 friendly file mode
Diffstat (limited to 'whatmaps/command.py')
-rwxr-xr-xwhatmaps/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/whatmaps/command.py b/whatmaps/command.py
index 3e8773b..3225f54 100755
--- a/whatmaps/command.py
+++ b/whatmaps/command.py
@@ -104,7 +104,7 @@ def write_cmd_file(services, cmd_file, distro):
logging.debug("Need to restart %s", service)
print(" ".join(distro.restart_service_cmd(service)), file=out)
out.close()
- os.chmod(cmd_file, 0755)
+ os.chmod(cmd_file, 0o755)
def main(argv):