if command_stat > 100000:
for t in self.threads:
while not t.is_done():
- wait_select(t.conn)
+ t.wait()
t.connect()
command_stat = 0
ready = self.threads
else:
ready, _, _ = select.select(self.threads, [], [])
- assert(False, "Unreachable code")
+ assert False, "Unreachable code"
def nominatim_arg_parser():