diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-13 14:25:00 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-03-13 14:26:04 +0000 |
commit | 5903c4ea34849985b62d2f67423ae2bd32d7d13b (patch) | |
tree | d9511cc6e465ec95cc4fe9c75d8e0180ba388019 /morphlib/extensions.py | |
parent | fe1a92080ecdde3d1375ed24878849f3d14292d0 (diff) | |
download | morph-5903c4ea34849985b62d2f67423ae2bd32d7d13b.tar.gz |
Use python3 compatible notation for octal constants
Change-Id: I771c3de9cecda7a503f4d36ae5d9fabc040892e4
Diffstat (limited to 'morphlib/extensions.py')
-rw-r--r-- | morphlib/extensions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/extensions.py b/morphlib/extensions.py index 051a54a7..c5e91f8c 100644 --- a/morphlib/extensions.py +++ b/morphlib/extensions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014 Codethink Limited +# Copyright (C) 2014-2015 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -149,7 +149,7 @@ class get_extension_filename(): fd, ext_filename = tempfile.mkstemp() os.write(fd, ext_contents) os.close(fd) - os.chmod(ext_filename, 0700) + os.chmod(ext_filename, 0o700) self.delete = True self.ext_filename = ext_filename |