diff options
author | Scott Moser <smoser@brickies.net> | 2016-11-09 14:17:57 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-11-09 14:17:57 -0500 |
commit | 25c218e5659445ecf64febe03c08c6fd9ca016e6 (patch) | |
tree | a41fb990ff99ff172f22c4c1b67d2f2f435215fc /cloudinit/sources/DataSourceEc2.py | |
parent | 847fda8353759e6eddee5a7478c9078b617a7837 (diff) | |
download | cloud-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.py | 2 |
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: |