diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-11-10 22:27:49 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-10 22:27:49 -0500 |
commit | d7a42777c83668111d9bb496f581605b33a0b4f2 (patch) | |
tree | 38215e5d97f47bfb509c7cb33324d48803b0efb8 | |
parent | cec15471c0fc7008cad607da222dd3c177e764b6 (diff) | |
download | vyos-cloud-init-d7a42777c83668111d9bb496f581605b33a0b4f2.tar.gz vyos-cloud-init-d7a42777c83668111d9bb496f581605b33a0b4f2.zip |
1 pep8 and 1 pylint fix
-rw-r--r-- | cloudinit/helpers.py | 2 | ||||
-rw-r--r-- | tests/unittests/test_runs/test_merge_run.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py index d26625a0..794f00ec 100644 --- a/cloudinit/helpers.py +++ b/cloudinit/helpers.py @@ -76,7 +76,7 @@ def canon_sem_name(name): class FileSemaphores(object): - def __init__(self, sem_path): + def __init__(self, sem_path): self.sem_path = sem_path @contextlib.contextmanager diff --git a/tests/unittests/test_runs/test_merge_run.py b/tests/unittests/test_runs/test_merge_run.py index 36de97ae..d9c3a455 100644 --- a/tests/unittests/test_runs/test_merge_run.py +++ b/tests/unittests/test_runs/test_merge_run.py @@ -33,7 +33,7 @@ class TestMergeRun(helpers.FilesystemMockingTestCase): initer.initialize() initer.fetch() initer.datasource.userdata_raw = ud - iid = initer.instancify() + _iid = initer.instancify() initer.update() initer.cloudify().run('consume_userdata', initer.consume_userdata, |