Package: afew
Version: 3.0.1-7
Followup-For: Bug #1106896
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
| $ afew -t --new
| Traceback (most recent call last):
| File "/usr/bin/afew", line 33, in <module>
| sys.exit(load_entry_point('afew==3.0.1', 'console_scripts', 'afew')())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
| File "/usr/lib/python3/dist-packages/afew/commands.py", line 160, in main
| inner_main(args, database, query_string)
| ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/afew/main.py", line 20, in main
| filter_.commit(options.dry_run)
| ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/afew/filters/BaseFilter.py", line 105,
in commit
| message.tags.remove(tag)
| ~~~~~~~~~~~~~~~~~~~^^^^^
| File "<frozen _collections_abc>", line 733, in remove
| KeyError: 'unread'
* What exactly did you do (or not do) that was effective (or
ineffective)?
It helped to apply the suggested change to
/usr/lib/python3/dist-packages/afew/filters/BaseFilter.py
* What was the outcome of this action?
Patched afew works as expected.
Best regards
itd