X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/418f381b492cc9c0f3ede008e72e1d2eb1a611a8..4d5faf942301766d793f267ff9d69da949f39f08:/nominatim/clicmd/admin.py?ds=sidebyside diff --git a/nominatim/clicmd/admin.py b/nominatim/clicmd/admin.py index d1ce5ccc..9557dc98 100644 --- a/nominatim/clicmd/admin.py +++ b/nominatim/clicmd/admin.py @@ -29,7 +29,6 @@ class AdminFuncs: """ def add_args(self, parser: argparse.ArgumentParser) -> None: - self.parser = parser group = parser.add_argument_group('Admin tasks') objs = group.add_mutually_exclusive_group(required=True) objs.add_argument('--warm', action='store_true', @@ -57,7 +56,6 @@ class AdminFuncs: help='Analyse indexing of the given OSM object') mgroup.add_argument('--place-id', type=int, help='Analyse indexing of the given Nominatim object') - group = parser.add_argument_group('Arguments for cleaning deleted') def run(self, args: NominatimArgs) -> int: