Esempio n. 1
0
 def __call__(self):
     from IPython.core.hooks import TryNext
     powerline = self.powerline()
     if powerline is not None:
         powerline.shutdown()
     raise TryNext()
Esempio n. 2
0
 def shutdown_hook():
     powerline.shutdown()
     raise TryNext()