jenkins-bot has submitted this change and it was merged.
Change subject: Include family name in assertion ......................................................................
Include family name in assertion
If a family module contains an invalid character an assertion is raised, however it doesnt indicate which family module is incorrectly named.
Change-Id: I337ff16663a3d875a7dd56679a869ae82499db1c --- M pywikibot/family.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/family.py b/pywikibot/family.py index ce3f6c4..0faff3c 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -896,7 +896,7 @@ fam = config.family
assert all(x in NAME_CHARACTERS for x in fam), \ - 'Name of family must be ASCII character' + 'Name of family %s must be ASCII characters and digits' % fam
if fam in Family._families: return Family._families[fam]