]> git.openstreetmap.org Git - nominatim.git/commitdiff
remove unused parameter
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 27 Sep 2021 12:58:43 +0000 (14:58 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 27 Sep 2021 12:58:43 +0000 (14:58 +0200)
nominatim/tokenizer/icu_tokenizer.py

index 22f5e78fd148dcc42e45d63fb95403cb167e5340..5768fd3596652e07fca2896a9d6a02772af8ccb5 100644 (file)
@@ -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.
         """