diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-10-10 10:05:10 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-10-10 10:05:10 +0200 |
commit | ea3300de1269c1c2e1fe76f6a6dec534936cc303 (patch) | |
tree | d3f7690266ca04c3a3d99444880d2c64972dc23f /src/hydrilla | |
parent | b2055032cb914fd160270971dd1da46f8c7c838d (diff) | |
download | haketilo-hydrilla-ea3300de1269c1c2e1fe76f6a6dec534936cc303.tar.gz haketilo-hydrilla-ea3300de1269c1c2e1fe76f6a6dec534936cc303.zip |
[builder][server] fix old tests
Diffstat (limited to 'src/hydrilla')
-rw-r--r-- | src/hydrilla/item_infos.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hydrilla/item_infos.py b/src/hydrilla/item_infos.py index 21b7136..9638dab 100644 --- a/src/hydrilla/item_infos.py +++ b/src/hydrilla/item_infos.py @@ -138,10 +138,10 @@ def make_cors_bypass_permission(perms_obj: t.Any, schema_compat: int) -> bool: def make_version_constraint( ver: t.Any, schema_compat: int, - default: t.Sequence[int] + default: versions.VerTuple ) -> versions.VerTuple: if schema_compat < 2 or ver is None: - return versions.normalize(default) + return default return versions.normalize(ver) |