afewmail / afew

an initial tagging script for notmuch mail
ISC License
325 stars 98 forks source link

Python-3.8 compatibility #255

Closed jedbrown closed 4 years ago

jedbrown commented 4 years ago

Upon upgrading to python-3.8, I encountered these two issues, which are resolved in this PR.

TypeError: object of type 'filter' has no len()
/home/jed/src/afew/afew/filters/__init__.py:9: SyntaxWarning: "is not" with a literal. Did you mean "!="?                                                                                      
  if filename is not '__init__.py')         
tohojo commented 4 years ago

Heh, guess I should have looked for this first. Please ignore #256 then :)