diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-16 12:47:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@baserock.org> | 2015-03-16 12:47:10 +0000 |
commit | e763aa20569578bdd95fb2a97c16fa3d6e4d9834 (patch) | |
tree | 46fa762d32735cfdcd77dcc414f54ab0beacd1b8 /morphlib/builder.py | |
parent | 2cdf37e721175e6f59a10971ee49cdd66f4e3419 (diff) | |
parent | 5903c4ea34849985b62d2f67423ae2bd32d7d13b (diff) | |
download | morph-e763aa20569578bdd95fb2a97c16fa3d6e4d9834.tar.gz |
Merge "Use python3 compatible notation for octal constants"
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r-- | morphlib/builder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py index 0bb21434..c8171d58 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -406,7 +406,7 @@ class ChunkBuilder(BuilderBase): with morphlib.savefile.SaveFile(script_path, 'w') as f: f.write("#!/bin/sh\nset -xeu\n") f.write(script) - os.chmod(script_path, 0555) + os.chmod(script_path, 0o555) rel_script_path = os.path.join(SYSTEM_INTEGRATION_PATH, script_name) @@ -624,7 +624,7 @@ class SystemBuilder(BuilderBase): # pragma: no cover f.write('SUPPORT_URL="http://wiki.baserock.org/mailinglist"\n') f.write('BUG_REPORT_URL="http://wiki.baserock.org/mailinglist"\n') - os.chmod(os_release_file, 0644) + os.chmod(os_release_file, 0o644) def run_system_integration_commands(self, rootdir): # pragma: no cover ''' Run the system integration commands ''' |