summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-11-10 21:01:12 -0500
committerScott Moser <smoser@brickies.net>2016-11-10 21:01:12 -0500
commit584b8434872322a9f617831742cc6b15977ecfbc (patch)
tree2b4bf7cba8b20817789276ed34a108172ec4e119 /cloudinit/sources
parentbf4010a9c379e2109b030af558033014f9137f47 (diff)
downloadvyos-cloud-init-584b8434872322a9f617831742cc6b15977ecfbc.tar.gz
vyos-cloud-init-584b8434872322a9f617831742cc6b15977ecfbc.zip
pep8: fix style errors reported by pycodestyle 2.1.0
pycodestyle 2.1.0 is in Ubuntu zesty, and complained about the changes made here. Simple style changes. This makes 'make pep8' pass again when built in a zesty build system with proposed enabled.
Diffstat (limited to 'cloudinit/sources')
-rw-r--r--cloudinit/sources/DataSourceAliYun.py1
-rw-r--r--cloudinit/sources/DataSourceAltCloud.py1
-rw-r--r--cloudinit/sources/DataSourceBigstep.py1
-rw-r--r--cloudinit/sources/DataSourceEc2.py1
-rw-r--r--cloudinit/sources/DataSourceGCE.py1
5 files changed, 5 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceAliYun.py b/cloudinit/sources/DataSourceAliYun.py
index 19957212..535813ab 100644
--- a/cloudinit/sources/DataSourceAliYun.py
+++ b/cloudinit/sources/DataSourceAliYun.py
@@ -38,6 +38,7 @@ def parse_public_keys(public_keys):
keys.extend(key)
return keys
+
# Used to match classes to dependencies
datasources = [
(DataSourceAliYun, (sources.DEP_FILESYSTEM, sources.DEP_NETWORK)),
diff --git a/cloudinit/sources/DataSourceAltCloud.py b/cloudinit/sources/DataSourceAltCloud.py
index 20345389..fac7bbcc 100644
--- a/cloudinit/sources/DataSourceAltCloud.py
+++ b/cloudinit/sources/DataSourceAltCloud.py
@@ -270,6 +270,7 @@ class DataSourceAltCloud(sources.DataSource):
else:
return False
+
# Used to match classes to dependencies
# Source DataSourceAltCloud does not really depend on networking.
# In the future 'dsmode' like behavior can be added to offer user
diff --git a/cloudinit/sources/DataSourceBigstep.py b/cloudinit/sources/DataSourceBigstep.py
index f80956a5..e8fd0088 100644
--- a/cloudinit/sources/DataSourceBigstep.py
+++ b/cloudinit/sources/DataSourceBigstep.py
@@ -46,6 +46,7 @@ def get_url_from_file():
raise
return content
+
# Used to match classes to dependencies
datasources = [
(DataSourceBigstep, (sources.DEP_FILESYSTEM, sources.DEP_NETWORK)),
diff --git a/cloudinit/sources/DataSourceEc2.py b/cloudinit/sources/DataSourceEc2.py
index c0b7ddd3..acbc2356 100644
--- a/cloudinit/sources/DataSourceEc2.py
+++ b/cloudinit/sources/DataSourceEc2.py
@@ -202,6 +202,7 @@ class DataSourceEc2(sources.DataSource):
return az[:-1]
return None
+
# Used to match classes to dependencies
datasources = [
(DataSourceEc2, (sources.DEP_FILESYSTEM, sources.DEP_NETWORK)),
diff --git a/cloudinit/sources/DataSourceGCE.py b/cloudinit/sources/DataSourceGCE.py
index 6c12d703..5ed59559 100644
--- a/cloudinit/sources/DataSourceGCE.py
+++ b/cloudinit/sources/DataSourceGCE.py
@@ -156,6 +156,7 @@ class DataSourceGCE(sources.DataSource):
def region(self):
return self.availability_zone.rsplit('-', 1)[0]
+
# Used to match classes to dependencies
datasources = [
(DataSourceGCE, (sources.DEP_FILESYSTEM, sources.DEP_NETWORK)),