From 2a94bfc703678eb1ee9aef55b3ae3610c9669aac Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 7 Oct 2021 09:49:13 +0200 Subject: [PATCH] fix argument description for check_database --- nominatim/tokenizer/base.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nominatim/tokenizer/base.py b/nominatim/tokenizer/base.py index 53289c78..02bc312f 100644 --- a/nominatim/tokenizer/base.py +++ b/nominatim/tokenizer/base.py @@ -194,15 +194,13 @@ class AbstractTokenizer(ABC): """ Check that the database is set up correctly and ready for being queried. - Returns: - If an issue was found, return an error message with the - description of the issue as well as hints for the user on - how to resolve the issue. - Arguments: config: Read-only object with configuration options. - Return `None`, if no issue was found. + Returns: + If an issue was found, return an error message with the + description of the issue as well as hints for the user on + how to resolve the issue. If everything is okay, return `None`. """ pass -- 2.39.5