Should not hash apt.Cache

Bug #1758450 reported by Julian Andres Klode
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-drivers-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

UbuntuDrivers should not hash the apt.Cache. It was accidentally broken to be not-hashable as a side-effect, but it really should not be hashable, so please fix it for the next cycle at least.

- File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 145, in packages_for_modalias
- apt_cache_hash = hash(apt_cache)
- TypeError: unhashable type: 'Cache'

(hash is identical to id for the cache right now I guess)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.