X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e89310a9285f1ad15d8002bf68f578eada367a0..e1dc4379e0cd100200ac53752442143ca4846fc5:/src/nominatim_db/clicmd/freeze.py?ds=sidebyside diff --git a/src/nominatim_db/clicmd/freeze.py b/src/nominatim_db/clicmd/freeze.py index 83b84b17..4b0b1489 100644 --- a/src/nominatim_db/clicmd/freeze.py +++ b/src/nominatim_db/clicmd/freeze.py @@ -9,13 +9,9 @@ Implementation of the 'freeze' subcommand. """ import argparse -from nominatim_core.db.connection import connect +from ..db.connection import connect from .args import NominatimArgs -# Do not repeat documentation of subcommand classes. -# pylint: disable=C0111 -# Using non-top-level imports to avoid eventually unused imports. -# pylint: disable=E0012,C0415 class SetupFreeze: """\ @@ -30,8 +26,7 @@ class SetupFreeze: """ def add_args(self, parser: argparse.ArgumentParser) -> None: - pass # No options - + pass # No options def run(self, args: NominatimArgs) -> int: from ..tools import freeze