Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

dependency fix: bitarray v1.5.1 #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a1exlism
Copy link

@a1exlism a1exlism commented Jul 1, 2021

Due to the update of bitarray(refer HERE)

2021-04-14 2.0.0:

  • remove .length() method (deprecated since 1.5.1 - use len())

the codes in fromfile method update with len() instead of .length().

Code tested after the update.

@Meiple
Copy link

Meiple commented May 31, 2022

I had the same problem in my code and the error was:
AttributeError: 'bitarray.bitarray' object has no attribute 'length'
I change for len() and went from this filter.bitarray.length() to this len(filter.bitarray)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants