]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/version.py
solve assorted issue with newer pylint versions
[nominatim.git] / nominatim / version.py
index d4f69da14ff149d57dcec7d77fef82d8360df69e..88d42af923f01e6bd812fa5b842a7b7988616551 100644 (file)
@@ -37,8 +37,8 @@ GIT_COMMIT_HASH = None
 
 
 # pylint: disable=consider-using-f-string
-def version_str():
+def version_str(version=NOMINATIM_VERSION):
     """
     Return a human-readable string of the version.
     """
-    return '{}.{}.{}-{}'.format(*NOMINATIM_VERSION)
+    return '{}.{}.{}-{}'.format(*version)