Skip to content

Commit

Permalink
add back id into attributes to be iterated over
Browse files Browse the repository at this point in the history
  • Loading branch information
nanorepublica committed Dec 5, 2015
1 parent 2ca58d3 commit 7527b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion duedil/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __getitem__(self, key):
def __iter__(self):
# self.load()
# return iter(self._result)
for prop in self.attribute_names:
for prop in self.attribute_names + ['id']:
if hasattr(self, prop):
yield prop
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def run_tests(self):
sys.exit(errno)


version = '0.6.3'
version = '0.6.4'

setup(name='duedil',
version=version,
Expand Down

0 comments on commit 7527b8d

Please sign in to comment.