Skip to content

Commit

Permalink
bug fix with related resources
Browse files Browse the repository at this point in the history
  • Loading branch information
nanorepublica committed Nov 11, 2015
1 parent 9c6daf8 commit 380dcc8
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 @@ -238,4 +238,4 @@ def load_related(self, key, klass=None):
return related

def __len__(self):
return len(self.attribute_names + self.related_resources)
return len(self.attribute_names + self.related_resources.keys())
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def run_tests(self):
sys.exit(errno)


version = '0.5.2'
version = '0.5.3'

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

0 comments on commit 380dcc8

Please sign in to comment.