Fix frozenset error in clear_cache
The repos attribute from scan_cache_dir() is a frozenset, not a list, so .pop() doesn't work. Fixed by using next(iter()) instead.
Showing
Please
register
or
sign in
to comment
The repos attribute from scan_cache_dir() is a frozenset, not a list, so .pop() doesn't work. Fixed by using next(iter()) instead.