summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-13 14:25:00 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-13 14:26:04 +0000
commit8b1d5d732404abd70fe1ef91be84a3f2ce4c1c31 (patch)
tree66275b24cf8d33415290a1ef6ea4bd80f7792636
parenta6128e7c12baa6f9fc763dbda3988f402860c472 (diff)
downloaddefinitions-8b1d5d732404abd70fe1ef91be84a3f2ce4c1c31.tar.gz
Use python3 compatible notation for octal constants
Change-Id: I771c3de9cecda7a503f4d36ae5d9fabc040892e4
-rw-r--r--writeexts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/writeexts.py b/writeexts.py
index ab451d14..9f166d7f 100644
--- a/writeexts.py
+++ b/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 = []