diff options
| author | Barry Warsaw <barry@python.org> | 2015-01-22 21:21:04 -0500 |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2015-01-22 21:21:04 -0500 |
| commit | 3b798b5d5c3caa5d0e8e534855e29010ca932aaa (patch) | |
| tree | c517762e79e4421d9b5a1be74cfe5776a7b9427a /tests/unittests/test_datasource/test_opennebula.py | |
| parent | 6f2a62c2fde85839ed437549597498a707f5da68 (diff) | |
| download | vyos-cloud-init-3b798b5d5c3caa5d0e8e534855e29010ca932aaa.tar.gz vyos-cloud-init-3b798b5d5c3caa5d0e8e534855e29010ca932aaa.zip | |
Low hanging Python 3 fruit.
Diffstat (limited to 'tests/unittests/test_datasource/test_opennebula.py')
| -rw-r--r-- | tests/unittests/test_datasource/test_opennebula.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_opennebula.py b/tests/unittests/test_datasource/test_opennebula.py index ddf77265..b79237f0 100644 --- a/tests/unittests/test_datasource/test_opennebula.py +++ b/tests/unittests/test_datasource/test_opennebula.py @@ -294,7 +294,7 @@ class TestParseShellConfig(unittest.TestCase): def populate_context_dir(path, variables): data = "# Context variables generated by OpenNebula\n" - for (k, v) in variables.iteritems(): + for (k, v) in variables.items(): data += ("%s='%s'\n" % (k.upper(), v.replace(r"'", r"'\''"))) populate_dir(path, {'context.sh': data}) |
