[Pywikibot-commits] [Gerrit] ...core[master]: [bugfix]: Catch TypeError instead of AttributeError