From: Sarah Hoffmann Date: Sun, 19 Apr 2020 15:59:49 +0000 (+0200) Subject: nominatim.py: fix wrong use of assert X-Git-Tag: v3.5.0~35 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/5469d02d03a8cc7a9e8aec8302668c50eb19b50c nominatim.py: fix wrong use of assert Fixes #1762. --- diff --git a/nominatim/nominatim.py b/nominatim/nominatim.py index 14643770..0db0777d 100755 --- a/nominatim/nominatim.py +++ b/nominatim/nominatim.py @@ -304,7 +304,7 @@ class Indexer(object): else: ready, _, _ = select.select(self.threads, [], []) - assert(False, "Unreachable code") + assert False, "Unreachable code" def nominatim_arg_parser():