From 920ee8580123546b6cc504c2750ba38718925628 Mon Sep 17 00:00:00 2001 From: Gil Forcada Codinachs Date: Tue, 2 Apr 2024 17:37:57 +0200 Subject: [PATCH] fix: referencesf expects bytes --- src/relstorage_packer/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relstorage_packer/utils.py b/src/relstorage_packer/utils.py index 97eae75..d5a4ce4 100644 --- a/src/relstorage_packer/utils.py +++ b/src/relstorage_packer/utils.py @@ -61,6 +61,6 @@ def get_references(state): """Return the set of OIDs the given state refers to.""" refs = set() if state: - for oid in referencesf(str(state)): + for oid in referencesf(state): refs.add(u64(oid)) return refs