From 03a53492b1fa76626d2392e72a3d2d38e8867376 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 31 Jan 2017 00:04:06 -0600 Subject: [PATCH] change dict comprehension to be python2.6 compatible --- src/jsoncfg/config_classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsoncfg/config_classes.py b/src/jsoncfg/config_classes.py index 447d5d3..43363d8 100644 --- a/src/jsoncfg/config_classes.py +++ b/src/jsoncfg/config_classes.py @@ -312,7 +312,7 @@ def __repr__(self): len(self), self._line, self._column) def _fetch_unwrapped_value(self): - return {key: node._fetch_unwrapped_value() for key, node in self._dict.items()} + return dict((key, node._fetch_unwrapped_value()) for key, node in self._dict.items()) def _insert(self, key, value): self._dict[key] = value