From: Sarah Hoffmann Date: Mon, 27 Sep 2021 12:58:43 +0000 (+0200) Subject: remove unused parameter X-Git-Tag: v4.0.0~25^2~1 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/bb18479d5bfd59fe418f21e79136646133e93567?hp=bd7c7ddad04627d2bf402ebf20d6a8413a331320 remove unused parameter --- diff --git a/nominatim/tokenizer/icu_tokenizer.py b/nominatim/tokenizer/icu_tokenizer.py index 22f5e78f..5768fd35 100644 --- a/nominatim/tokenizer/icu_tokenizer.py +++ b/nominatim/tokenizer/icu_tokenizer.py @@ -52,7 +52,7 @@ class LegacyICUTokenizer(AbstractTokenizer): self.term_normalization = config.TERM_NORMALIZATION self._install_php(config.lib_dir.php) - self._save_config(config) + self._save_config() if init_db: self.update_sql_functions(config) @@ -122,7 +122,7 @@ class LegacyICUTokenizer(AbstractTokenizer): require_once('{phpdir}/tokenizer/icu_tokenizer.php');""")) - def _save_config(self, config): + def _save_config(self): """ Save the configuration that needs to remain stable for the given database as database properties. """