summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOVF.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-03 14:26:00 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-03 14:26:00 -0500
commit42d3efe69caeb2bb1ebdd67f1bae3e8f2134ff85 (patch)
tree31f921f29748fb79b961c5256f5eea3f92bc7b1c /cloudinit/sources/DataSourceOVF.py
parent97efb9d48197d7098f1abe2ee519418afbe6aec5 (diff)
parent112d25e6b2a20e8e39c1f22f6a30e0130616c64f (diff)
downloadvyos-cloud-init-42d3efe69caeb2bb1ebdd67f1bae3e8f2134ff85.tar.gz
vyos-cloud-init-42d3efe69caeb2bb1ebdd67f1bae3e8f2134ff85.zip
fix pyflakes reported issues, and run it during package build and tox.
Diffstat (limited to 'cloudinit/sources/DataSourceOVF.py')
-rw-r--r--cloudinit/sources/DataSourceOVF.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py
index 72ba5aba..d12601a4 100644
--- a/cloudinit/sources/DataSourceOVF.py
+++ b/cloudinit/sources/DataSourceOVF.py
@@ -90,7 +90,8 @@ class DataSourceOVF(sources.DataSource):
nicConfigurator.configure()
vmwarePlatformFound = True
except Exception as inst:
- LOG.debug("Error while parsing the Customization Config File")
+ LOG.debug("Error while parsing the Customization "
+ "Config File: %s", inst)
finally:
dirPath = os.path.dirname(vmwareImcConfigFilePath)
shutil.rmtree(dirPath)