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/writeexts.py | |
parent | 2cdf37e721175e6f59a10971ee49cdd66f4e3419 (diff) | |
parent | 5903c4ea34849985b62d2f67423ae2bd32d7d13b (diff) | |
download | morph-e763aa20569578bdd95fb2a97c16fa3d6e4d9834.tar.gz |
Merge "Use python3 compatible notation for octal constants"
Diffstat (limited to 'morphlib/writeexts.py')
-rw-r--r-- | morphlib/writeexts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py index ab451d14..9f166d7f 100644 --- a/morphlib/writeexts.py +++ b/morphlib/writeexts.py @@ -360,7 +360,7 @@ class WriteExtension(cliapp.Application): self.status(msg='Creating %s subvolume' % state_subdir) subvolume = os.path.join(mountpoint, 'state', state_subdir) cliapp.runcmd(['btrfs', 'subvolume', 'create', subvolume]) - os.chmod(subvolume, 0755) + os.chmod(subvolume, 0o755) existing_state_dir = os.path.join(system_dir, state_subdir) files = [] |