def __call__(self, twitter, options):
        action = actions.get(options['action'], NoSuchAction)()
        try:
            doAction = lambda: action(twitter, options)
            if options['refresh'] and isinstance(action, StatusAction):
                while True:
                    doAction()
                    sys.stdout.flush()
                    time.sleep(options['refresh_rate'])
            else:
                doAction()
        except __HOLE__:
            print('\n[Keyboard Interrupt]', file=sys.stderr)
            pass
dataset/ETHPy150Open sixohsix/twitter/twitter/cmdline.py/Action.__call__