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

Commit

Permalink
change dict comprehension to be python2.6 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
bytesofmyself committed Jan 31, 2017
1 parent d98d112 commit 03a5349
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 03a5349

Please sign in to comment.