예제 #1
0
 def notlambda(this):
   cond.acquire()
   ScanHandler.reset_stats(self)
   SQLSupport.reset_all()
   this.sql_consensus_listener.update_consensus()
   this.sql_consensus_listener._update_rank_history(this.sql_consensus_listener.consensus.ns_map.iterkeys())
   SQLSupport.refresh_all()
   cond.notify()
   cond.release()
예제 #2
0
 def notlambda(this):
   cond.acquire()
   ScanHandler.reset_stats(self)
   SQLSupport.reset_all()
   this.sql_consensus_listener.update_consensus()
   this.sql_consensus_listener._update_rank_history(this.sql_consensus_listener.consensus.ns_map.iterkeys())
   SQLSupport.refresh_all()
   cond.notify()
   cond.release()