summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-01-12 16:55:34 +0100
committerScott Moser <smoser@ubuntu.com>2012-01-12 16:55:34 +0100
commit8b795f21caa5758138bb19a4f0412b80b6db9c99 (patch)
tree57c77007f11f56b6382a2073a96f42b4ee4a925b /cloudinit/__init__.py
parentba15fd8d7d2c434ee031013c185d53d52804a967 (diff)
downloadvyos-cloud-init-8b795f21caa5758138bb19a4f0412b80b6db9c99.tar.gz
vyos-cloud-init-8b795f21caa5758138bb19a4f0412b80b6db9c99.zip
[PATCH 09/13] Fix pylint warnings W0107 (unnecessary pass statement)
From: Juerg Haefliger <juerg.haefliger@hp.com>
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r--cloudinit/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index 537e3363..0e35ab6e 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -205,7 +205,6 @@ class CloudInit:
except Exception as e:
log.warn("get_data of %s raised %s" % (ds,e))
util.logexc(log)
- pass
msg = "Did not find data source. searched classes: %s" % dsnames
log.debug(msg)
raise DataSourceNotFoundException(msg)