summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceEc2.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-11-09 14:17:57 -0500
committerScott Moser <smoser@brickies.net>2016-11-09 14:17:57 -0500
commit25c218e5659445ecf64febe03c08c6fd9ca016e6 (patch)
treea41fb990ff99ff172f22c4c1b67d2f2f435215fc /cloudinit/sources/DataSourceEc2.py
parent847fda8353759e6eddee5a7478c9078b617a7837 (diff)
downloadcloud-init-git-25c218e5659445ecf64febe03c08c6fd9ca016e6.tar.gz
Ec2: fix syntax and tox in previous commit.
Simply fix a commit that should not have been pushed.
Diffstat (limited to 'cloudinit/sources/DataSourceEc2.py')
-rw-r--r--cloudinit/sources/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceEc2.py b/cloudinit/sources/DataSourceEc2.py
index bb6d6fd7..c0b7ddd3 100644
--- a/cloudinit/sources/DataSourceEc2.py
+++ b/cloudinit/sources/DataSourceEc2.py
@@ -153,7 +153,7 @@ class DataSourceEc2(sources.DataSource):
bdm = self.metadata['block-device-mapping']
if not isinstance(bdm, dict):
LOG.debug("block-device-mapping not a dictionary: '%s'", bdm)
- return None
+ return None
for (entname, device) in bdm.items():
if entname == name: