aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/server/malcontent.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-08-22 12:52:59 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-09 13:50:40 +0200
commit33606b647eec91128097ea4b5fb59834d1dd9943 (patch)
treeb48fa711001b884f5ccce51c7767a1806e090748 /src/hydrilla/server/malcontent.py
parent12ff72506af9b3c8cb1ce604d86232600a26e2c2 (diff)
downloadhaketilo-hydrilla-33606b647eec91128097ea4b5fb59834d1dd9943.tar.gz
haketilo-hydrilla-33606b647eec91128097ea4b5fb59834d1dd9943.zip
allow pulling packages from remote repository
Diffstat (limited to 'src/hydrilla/server/malcontent.py')
-rw-r--r--src/hydrilla/server/malcontent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hydrilla/server/malcontent.py b/src/hydrilla/server/malcontent.py
index 49c0fb4..ce24330 100644
--- a/src/hydrilla/server/malcontent.py
+++ b/src/hydrilla/server/malcontent.py
@@ -79,7 +79,7 @@ class VersionedItemInfo(
Find and return info of the specified version of the item (or None if
absent).
"""
- return self.items.get(versions.normalize_version(ver))
+ return self.items.get(versions.normalize(ver))
def get_all(self) -> t.Iterable[VersionedType]:
"""Generate item info for all its versions, from oldest to newest."""