

def _try_to_run_with_args(self, action, *args, **kwargs):
    try:
        action(*args, **kwargs)
    except TypeError:
        action()

dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py _ActionRunner._try_to_run_with_args/original