in tools/plugins.py [0:0]
def __init__(self):
self.options = self._parse_options()
auth = self._authenticate()
self.api = GerritRestAPI(url=GERRIT, auth=auth)
self.plugins = list()
self.maintainers = defaultdict(list)
self._create_plugins()
self.plugins = sorted(self.plugins, key=attrgetter("state", "empty"))