mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 13:24:07 +00:00
fix new linting issues from pylint 2.16
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user