From ea3300de1269c1c2e1fe76f6a6dec534936cc303 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 10 Oct 2022 10:05:10 +0200 Subject: [builder][server] fix old tests --- src/hydrilla/item_infos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hydrilla') 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) -- cgit v1.2.3