Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from bytesofmyself/patch_py26_compat
Browse files Browse the repository at this point in the history
change a dict comprehension to allow python 2.6 compatibility
  • Loading branch information
pasztorpisti authored Feb 15, 2017
2 parents d98d112 + 03a5349 commit 2c929c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsoncfg/config_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c929c8

Please sign in to comment.