diff options
-rw-r--r-- | cloudinit/sources/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py index beb0f3d7..55900119 100644 --- a/cloudinit/sources/__init__.py +++ b/cloudinit/sources/__init__.py @@ -78,7 +78,7 @@ class DataSource(object): return list(self.metadata['public-keys']) if isinstance(self.metadata['public-keys'], (dict)): - for _keyname, klist in self.metadata['public-keys'].items(): + for (_keyname, klist) in self.metadata['public-keys'].iteritems(): # lp:506332 uec metadata service responds with # data that makes boto populate a string for 'klist' rather # than a list. |