summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_altcloud.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2015-01-21 15:42:59 -0500
committerBarry Warsaw <barry@python.org>2015-01-21 15:42:59 -0500
commita64bb4febc79fcf641f6471d8cc00c74ca915f3d (patch)
tree7dd64f38f548fa38f11f400ce4392f7e3f504e15 /tests/unittests/test_datasource/test_altcloud.py
parentcccc0ff012d2e7b5c238609b22cc064b519e54a5 (diff)
downloadvyos-cloud-init-a64bb4febc79fcf641f6471d8cc00c74ca915f3d.tar.gz
vyos-cloud-init-a64bb4febc79fcf641f6471d8cc00c74ca915f3d.zip
More octal literal fixes.
Diffstat (limited to 'tests/unittests/test_datasource/test_altcloud.py')
-rw-r--r--tests/unittests/test_datasource/test_altcloud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_datasource/test_altcloud.py b/tests/unittests/test_datasource/test_altcloud.py
index 9d8a4a20..c74562d7 100644
--- a/tests/unittests/test_datasource/test_altcloud.py
+++ b/tests/unittests/test_datasource/test_altcloud.py
@@ -66,12 +66,12 @@ def _write_user_data_files(mount_dir, value):
udfile = open(deltacloud_user_data_file, 'w')
udfile.write(value)
udfile.close()
- os.chmod(deltacloud_user_data_file, 0664)
+ os.chmod(deltacloud_user_data_file, 0o664)
udfile = open(user_data_file, 'w')
udfile.write(value)
udfile.close()
- os.chmod(user_data_file, 0664)
+ os.chmod(user_data_file, 0o664)
def _remove_user_data_files(mount_dir,