def disconnect_all():
 from fabric.state import connections, output
 for key in connections.keys():
  if output.status:
   sys.stdout.write(('Disconnecting from %s... ' % denormalize(key)))
  connections[key].close()
  del connections[key]
  if output.status:
   sys.stdout.write('done.\n')

def disconnect_all ( ) : from fabric . state import connections , output for key in connections . keys ( ) : if output . status : sys . stdout . write ( ( 'Disconnecting from %s... ' % denormalize ( key ) ) ) connections [ key ] . close ( ) del connections [ key ] if output . status : sys . stdout . write ( 'done.\n' )
disconnect all signal handlers .