summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceNoCloud.py
diff options
context:
space:
mode:
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