@staticmethod
    def eval_config_parameter(param):
        params = param.split(' ')
        result_list = list()

        for p in params:
            try:
                e_value = eval(p)
                if isinstance(e_value, str) or isinstance(e_value, int):
                    p = str(e_value)
                else:
                    raise ValueError()
            except (NameError, SyntaxError, ValueError):
                pass
            finally:
                result_list.append(p)

        return ' '.join(result_list)
Rename old to new in repo
dataset/ETHPy150Open ultrabug/py3status/py3status/i3status.py/I3status.eval_config_parameter--crossover with--dataset/ETHPy150Open googlei18n/nototools/nototools/tool_utils.py/git_mv