summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 9c89de61..7c37eb8f 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -113,7 +113,7 @@ def _lsb_release(target=None):
except ProcessExecutionError as err:
LOG.warn("Unable to get lsb_release --all: %s", err)
- data = {v: "UNAVAILABLE" for v in fmap.values()}
+ data = dict((v, "UNAVAILABLE") for v in fmap.values())
return data