Skip to content

Commit

Permalink
Merge c8bf232 into 8fa04d7
Browse files Browse the repository at this point in the history
  • Loading branch information
nanorepublica committed Jun 9, 2017
2 parents 8fa04d7 + c8bf232 commit 9c33a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duedil/resources/pro/company/accounts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Account(RelatedResourceMixin, ProResource):
full_endpoint = True

def __iter__(self):
return iter(dict([(i,getattr(self, i)) for i in self.attribute_names]))
return iter({i: getattr(self, i) for i in self.attribute_names})

@property
def path(self):
Expand Down

0 comments on commit 9c33a5e

Please sign in to comment.