XZise added a subscriber: XZise. XZise added a comment. I think it's catching the `ImportError` in case someone added their own family file to `config.family_files`. I actually think that we shouldn't even catching the `KeyError` there but doing that separately so that any `KeyError` thrown while importing it isn't caught. Unfortunately I don't think it's possible to separate between errors during import (where the family file is problematic) and errors “initializing” the import (e.g. when `load_source` raised the `ImportError` directly).
TASK DETAIL https://phabricator.wikimedia.org/T60878 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, jayvdb, valhallasw, pywikibot-bugs-list, Ladsgroup _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
