Skip to content

Commit

Permalink
Organizations do not have a 'closed' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert C Jennings committed Jan 16, 2017
1 parent ad104a5 commit aac3b3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions trello/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ def from_json(cls, trello_client, json_obj):
"""
organization = Organization(trello_client, json_obj['id'], name=json_obj['name'])
organization.description = json_obj.get('desc', '')
# cannot close an organization
# organization.closed = json_obj['closed']
organization.url = json_obj['url']
return organization

Expand All @@ -39,7 +37,6 @@ def fetch(self):
json_obj = self.client.fetch_json('/organizations/' + self.id)
self.name = json_obj['name']
self.description = json_obj.get('desc', '')
self.closed = json_obj['closed']
self.url = json_obj['url']

def all_boards(self):
Expand Down

0 comments on commit aac3b3d

Please sign in to comment.