← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~harlowja/cloud-init:fix-26 into cloud-init:master


Joshua Harlow has proposed merging ~harlowja/cloud-init:fix-26 into cloud-init:master.

Requested reviews:
  cloud init development team (cloud-init-dev)

For more details, see:
Your team cloud init development team is requested to review the proposed merge of ~harlowja/cloud-init:fix-26 into cloud-init:master.
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 9c89de6..7c37eb8 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

Follow ups