def late_startup_hook(): powerline.setup(ip, shutdown_hook) raise TryNext()
def __call__(self): from IPython.ipapi import TryNext powerline = self.powerline() if powerline is not None: powerline.shutdown() raise TryNext()