From 8b1d5d732404abd70fe1ef91be84a3f2ce4c1c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 13 Mar 2015 14:25:00 +0000 Subject: Use python3 compatible notation for octal constants Change-Id: I771c3de9cecda7a503f4d36ae5d9fabc040892e4 --- writeexts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- cgit v1.2.1