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/writeexts.py | |
parent | fe1a92080ecdde3d1375ed24878849f3d14292d0 (diff) | |
download | morph-5903c4ea34849985b62d2f67423ae2bd32d7d13b.tar.gz |
Use python3 compatible notation for octal constants
Change-Id: I771c3de9cecda7a503f4d36ae5d9fabc040892e4
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 = [] |