]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/nominatim.py
nominatim.py: fix wrong use of assert
[nominatim.git] / nominatim / nominatim.py
index 14643770a6642662be283b0d21b3d36b556ac407..0db0777dc17d20b87413a2bf55d08432dc55de24 100755 (executable)
@@ -304,7 +304,7 @@ class Indexer(object):
             else:
                 ready, _, _ = select.select(self.threads, [], [])
 
             else:
                 ready, _, _ = select.select(self.threads, [], [])
 
-        assert(False, "Unreachable code")
+        assert False, "Unreachable code"
 
 
 def nominatim_arg_parser():
 
 
 def nominatim_arg_parser():