summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-19 15:39:01 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-19 15:39:01 -0700
commita8241225f408b8df258af0e6ea0820fb6894ea29 (patch)
tree2ed9906a9f57446daa7ee495acf17a034340be3b /cloudinit
parente898c7990cbe94d9116dc27d6c051523575c07e0 (diff)
downloadvyos-cloud-init-a8241225f408b8df258af0e6ea0820fb6894ea29.tar.gz
vyos-cloud-init-a8241225f408b8df258af0e6ea0820fb6894ea29.zip
Fix pylint line length issues.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/__init__.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 128d4aad..35fc01df 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -182,14 +182,15 @@ def find_source(sys_cfg, distro, paths, ds_deps, cfg_list, pkg_list):
raise DataSourceNotFoundException(msg)
-# return a list of classes that have the same depends as 'depends'
-# iterate through cfg_list, loading "DataSourceCollections" modules
+# Return a list of classes that have the same depends as 'depends'
+# iterate through cfg_list, loading "DataSource*" modules
# and calling their "get_datasource_list".
-# return an ordered list of classes that match
+# Return an ordered list of classes that match (if any)
def list_sources(cfg_list, depends, pkg_list):
src_list = []
LOG.info(("Looking for for data source in: %s,"
- " via packages %s that matches dependencies %s"), cfg_list, pkg_list, depends)
+ " via packages %s that matches dependencies %s"),
+ cfg_list, pkg_list, depends)
for ds_coll in cfg_list:
ds_name = str(ds_coll)
if not ds_name.startswith(DS_PREFIX):