X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d1eeaa59a60362cc566498049ad02017ee9a2d17..d3f7465ccad9cce6c84f0b089282c5ece550c5ed:/nominatim/nominatim.py?ds=inline diff --git a/nominatim/nominatim.py b/nominatim/nominatim.py index 14643770..3e9c2f16 100755 --- a/nominatim/nominatim.py +++ b/nominatim/nominatim.py @@ -297,14 +297,14 @@ class Indexer(object): 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():