]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fixed pylint warnings
authorRobbe Haesendonck <googleit@inuits.eu>
Thu, 21 Sep 2023 10:28:45 +0000 (12:28 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Dec 2023 08:04:33 +0000 (09:04 +0100)
nominatim/clicmd/setup.py
nominatim/tools/database_import.py

index 1a651157b3f18b82032caf26d08334c60f1158ae..f0fe4bd8c77fdfb8b56a94cf989bb30ab7d7c91e 100644 (file)
@@ -170,7 +170,7 @@ class SetupAll:
         self._finalize_database(args.config.get_libpq_dsn(), args.offline)
 
         return 0
         self._finalize_database(args.config.get_libpq_dsn(), args.offline)
 
         return 0
-    
+
     def _is_complete_import(self, args: NominatimArgs) -> bool:
         """ Determine if the import is complete or if only the database should be prepared.
         """
     def _is_complete_import(self, args: NominatimArgs) -> bool:
         """ Determine if the import is complete or if only the database should be prepared.
         """
index 82bdd5ed9cd0431812065135925dd5313108e79b..1f39f38154db0c565814e5057cfdfcde9972bfd2 100644 (file)
@@ -23,7 +23,9 @@ from nominatim.db.async_connection import DBConnection
 from nominatim.db.sql_preprocessor import SQLPreprocessor
 from nominatim.tools.exec_utils import run_osm2pgsql
 from nominatim.errors import UsageError
 from nominatim.db.sql_preprocessor import SQLPreprocessor
 from nominatim.tools.exec_utils import run_osm2pgsql
 from nominatim.errors import UsageError
-from nominatim.version import POSTGRESQL_REQUIRED_VERSION, POSTGIS_REQUIRED_VERSION, HSTORE_REQUIRED_VERSION
+from nominatim.version import POSTGRESQL_REQUIRED_VERSION, \
+                              POSTGIS_REQUIRED_VERSION, \
+                              HSTORE_REQUIRED_VERSION
 
 LOG = logging.getLogger()
 
 
 LOG = logging.getLogger()