Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

Commit

Permalink
Merge pull request #25 from k0s/24
Browse files Browse the repository at this point in the history
  • Loading branch information
malini committed Aug 13, 2012
2 parents 5049895 + b5a2cc2 commit 1d3a52a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dzclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ def create(cls, protocol, host, project, oauth_key,
"""create a DatazillaRequest instance from a results collection"""

# get attributes from the collection
attributes = inspect.getargspec(DatazillaResultsCollection.__init__).args[1:]
attributes, _, _, _ = inspect.getargspec(DatazillaResultsCollection.__init__)
attributes = attributes[1:] # remove `self`
kw = dict([(i, getattr(collection, i))
for i in attributes])

Expand Down

0 comments on commit 1d3a52a

Please sign in to comment.