fix new linting issues from pylint 2.16

This commit is contained in:
Sarah Hoffmann
2023-02-02 09:48:20 +01:00
parent 189f74a40d
commit e1fc1566f3
3 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ def _migration(major: int, minor: int, patch: int = 0,
there.
"""
def decorator(func: Callable[..., None]) -> Callable[..., None]:
version = (NominatimVersion(major, minor, patch, dbpatch))
version = NominatimVersion(major, minor, patch, dbpatch)
_MIGRATION_FUNCTIONS.append((version, func))
return func