diff options
author | Scott Moser <smoser@brickies.net> | 2016-11-10 21:01:12 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-11-10 21:01:12 -0500 |
commit | 584b8434872322a9f617831742cc6b15977ecfbc (patch) | |
tree | 2b4bf7cba8b20817789276ed34a108172ec4e119 /cloudinit/sources | |
parent | bf4010a9c379e2109b030af558033014f9137f47 (diff) | |
download | vyos-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.py | 1 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceAltCloud.py | 1 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceBigstep.py | 1 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceEc2.py | 1 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceGCE.py | 1 |
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)), |