diff options
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/DataSource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSource.py b/cloudinit/DataSource.py index 8e4b47e6..7f40c0f8 100644 --- a/cloudinit/DataSource.py +++ b/cloudinit/DataSource.py @@ -67,7 +67,7 @@ class DataSource: if not self.metadata.has_key('public-keys'): return([]) if isinstance(self.metadata['public-keys'], str): - return(self.metadata['public-keys']) + return([self.metadata['public-keys'],]) for keyname, klist in self.metadata['public-keys'].items(): # lp:506332 uec metadata service responds with |