From 5469d02d03a8cc7a9e8aec8302668c50eb19b50c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 19 Apr 2020 17:59:49 +0200 Subject: [PATCH] nominatim.py: fix wrong use of assert Fixes #1762. --- nominatim/nominatim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): -- 2.39.5