Beispiel #1
0
 def done(_):
    log.flush()
    log.close()
    for c in config.components:
       c.leave()
    from twisted.internet import reactor
    reactor.callLater(1, reactor.stop)
Beispiel #2
0
 def done(res):
     log.flush()
     log.close()
     for c in config.components:
         c.leave()
     from twisted.internet import reactor
     reactor.callLater(1, reactor.stop)
Beispiel #3
0
 def done(res):
    print "DOne"
    log.flush()
    log.close()
    if config.port:
       config.port.stopListening()
    if config.connected_clients:
       for proto in config.connected_clients:
          proto.transport.abortConnection()
 def done(res):
     log.flush()
     log.close()
     if config.port:
         config.port.stopListening()
     if config.connected_clients:
         for proto in config.connected_clients:
             proto.transport.abortConnection()
     print("Log length: {}".format(len(config.dlog)))
     print(config.dlog)
 def done(res):
    log.flush()
    log.close()
    if config.port:
       config.port.stopListening()
    if config.connected_clients:
       for proto in config.connected_clients:
          proto.transport.abortConnection()
    print("Log length: {}".format(len(config.dlog)))
    print(config.dlog)