diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-07-16 14:16:51 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-07-29 10:20:41 +0200 |
commit | 33602387b35ba70f18a6d81612b056b51a6e9574 (patch) | |
tree | f771b09f8b7c8b5889bf25d0cd663ef9e369d39b /lib | |
parent | 0906aa5d28af153cede79b22aa6005c8401d0be7 (diff) |
web_support.py: fix octal numbers under py3
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/web_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/web_support.py b/lib/python/web_support.py index 37d36d037b..52fbe0068c 100644 --- a/lib/python/web_support.py +++ b/lib/python/web_support.py @@ -67,7 +67,7 @@ class Service: gid = os.stat(self.socket_name).st_gid grpent = grp.getgrgid(gid) if grpent[0] == 'www-data': - os.chmod(self.socket_name, 0660) + os.chmod(self.socket_name, 0o660) def log(self, msg, *args): sys.stderr.write((msg % args) + "\n") |