summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-01-12 17:03:26 +0100
committerScott Moser <smoser@ubuntu.com>2012-01-12 17:03:26 +0100
commit1d00c0936bfc63117493d89268da8c81611b3c40 (patch)
tree23077c9f5d348a1b29408bba04cdac049a6ec76b /cloudinit/DataSourceNoCloud.py
parent982856531a3498d784e3977f307a9cbf2a673977 (diff)
parent7c38d4b469d3863443ec3322f0def25672c545db (diff)
downloadvyos-cloud-init-1d00c0936bfc63117493d89268da8c81611b3c40.tar.gz
vyos-cloud-init-1d00c0936bfc63117493d89268da8c81611b3c40.zip
fix pylint warnings (LP: #914739) [Juerg Haefliger]
LP: #914739
Diffstat (limited to 'cloudinit/DataSourceNoCloud.py')
-rw-r--r--cloudinit/DataSourceNoCloud.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/cloudinit/DataSourceNoCloud.py b/cloudinit/DataSourceNoCloud.py
index 956b1a5e..2f4bd604 100644
--- a/cloudinit/DataSourceNoCloud.py
+++ b/cloudinit/DataSourceNoCloud.py
@@ -18,12 +18,8 @@
import DataSource
-from cloudinit import seeddir, log
+from cloudinit import seeddir, log # pylint: disable=W0611
import cloudinit.util as util
-import sys
-import os.path
-import os
-import errno
class DataSourceNoCloud(DataSource.DataSource):
metadata = None
@@ -94,7 +90,7 @@ class DataSourceNoCloud(DataSource.DataSource):
md = util.mergedict(md,defaults)
self.seed = ",".join(found)
- self.metadata = md;
+ self.metadata = md
self.userdata_raw = ud
return True