def _get_stat(self):
        def dev_filter(x):
            # get first word and remove trailing interface number
            x = x.strip().split(" ")[0][:-1]

            if x in self.interfaces_blacklist:
                return False

            if self.all_interfaces:
                return True

            if x in self.interfaces:
                return True

            return False

        # read devfile, skip two header files
        x = filter(dev_filter, open(self.devfile).readlines()[2:])

        try:
            # split info into words, filter empty ones
            return [list(filter(lambda x: x, _x.split(" "))) for _x in x]

        except StopIteration:
            return None
add multiple engines to our cluster
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/net_rate.py/Py3status._get_stat--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/tests/clienttest.py/ClusterTestCase.add_engines