]> git.openstreetmap.org Git - nominatim.git/commitdiff
nominatim.py: fix wrong use of assert
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 19 Apr 2020 15:59:49 +0000 (17:59 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 19 Apr 2020 15:59:49 +0000 (17:59 +0200)
Fixes #1762.

nominatim/nominatim.py

index 14643770a6642662be283b0d21b3d36b556ac407..0db0777dc17d20b87413a2bf55d08432dc55de24 100755 (executable)
@@ -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():