old_contents: from nextactions.list import List
  
  
  class Board:
  
      def __init__(self, trello, json):
          self._trello = trello
          self.id = json['id']
          self.name = json['name']
          # TODO remove me
          self.nextActionList = []
  
      def getLists(self):
          json = self._trello.get(
              'https://api.trello.com/1/boards/' + self.id + '/lists',
              {'cards': "none"}
          )
          return [List(self._trello, j) for j in json]
  
      def getListByName(self, name):
          matches = [l for l in self.getLists() if l.name == name]
          return matches[0] if len(matches) else None
  
new_contents: from nextactions.list import List
  
  
  class Board:
  
      def __init__(self, trello, json):
          self._trello = trello
          self.id = json['id']
          self.name = json['name']
  
      def getLists(self):
          json = self._trello.get(
              'https://api.trello.com/1/boards/' + self.id + '/lists',
              {'cards': "none"}
          )
          return [List(self._trello, j) for j in json]
  
      def getListByName(self, name):
          matches = [l for l in self.getLists() if l.name == name]
          return matches[0] if len(matches) else None
  
subject: Remove unused code