bugwarrior/services/trello.py
def get_boards(self):
        """
        Get the list of boards to pull cards from.  If the user gave a value to
        trello.include_boards use that, otherwise ask the Trello API for the
        user's boards.
        """
        if 'include_boards' in self.config:
            for boardid in self.config.get('include_boards', to_type=aslist):
                # Get the board name
                yield self.api_request(
                    "/1/boards/{id}".format(id=boardid), fields='name')
        else:
            boards = self.api_request("/1/members/me/boards", fields='name')
            for board in boards:
                yield board
def get_boards(self):
        if 'include_boards' in self.config:
            for boardid in self.config.get('include_boards', to_type=aslist):
                # Get the board name
                yield self.api_request(
                    "/1/boards/{id}".format(id=boardid), fields='name')
        else:
            boards = self.api_request("/1/members/me/boards", fields='name')
            for board in boards:
                yield board
def get_boards ( self ) : if 'include_boards' in self . config : for boardid in self . config . get ( 'include_boards' , to_type = aslist ) : # Get the board name yield self . api_request ( "/1/boards/{id}" . format ( id = boardid ) , fields = 'name' ) else : boards = self . api_request ( "/1/members/me/boards" , fields = 'name' ) for board in boards : yield board
Get the list of boards to pull cards from.  If the user gave a value to
        trello.include_boards use that, otherwise ask the Trello API for the
        user's boards.
Get the list of boards to pull cards from . If the user gave a value to trello . include_boards use that otherwise ask the Trello API for the user s boards .