Skip to content

Commit

Permalink
Merge pull request #211 from rwyrobek/fetch_actions_tidy
Browse files Browse the repository at this point in the history
Make card.fetch_actions() and list.fetch_actions() return the result
  • Loading branch information
sarumont authored Jun 19, 2017
2 parents b4a78bf + e30b4cc commit 9ad17d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions trello/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def fetch_actions(self, action_filter='createCard', since=None, before=None):
"since": since,
"before": before})
self.actions = json_obj
return self.actions

def attriExp(self, multiple):
"""
Expand Down
1 change: 1 addition & 0 deletions trello/trellolist.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def fetch_actions(self, action_filter):
'/lists/' + self.id + '/actions',
query_params={'filter': action_filter})
self.actions = json_obj
return self.actions

def _set_remote_attribute(self, attribute, value):
self.client.fetch_json(
Expand Down

0 comments on commit 9ad17d5

Please sign in to comment.