diff --git a/pottery/bloom.py b/pottery/bloom.py index df576f20..66bbd34b 100644 --- a/pottery/bloom.py +++ b/pottery/bloom.py @@ -346,8 +346,8 @@ def __bit_offsets_many(self, except TypeError: # value can't be encoded / converted to JSON. Do a membership # test for a UUID in place of value. - uuid_ = str(uuid.uuid4()) - yield from self._bit_offsets(uuid_) + uuid4 = str(uuid.uuid4()) + yield from self._bit_offsets(uuid4) def _num_bits_set(self) -> int: '''The number of bits set to 1 in this Bloom filter. O(m)