jenkins-bot has submitted this change and it was merged. Change subject: [FIX] fixes: Reintroduce filename attribute ......................................................................
[FIX] fixes: Reintroduce filename attribute In 3ac18802 the filename attribute was removed as it generally changed how it loaded the fixes. But that lead to an exception when the user fixes file wasn't loaded and the replace script tried to output the path. Change-Id: I1ad213b6ad437ae10442ed9ff05160f177b746d2 --- M pywikibot/fixes.py 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified diff --git a/pywikibot/fixes.py b/pywikibot/fixes.py index 29bc3fb..67cc716 100644 --- a/pywikibot/fixes.py +++ b/pywikibot/fixes.py @@ -650,7 +650,8 @@ # # Load the user fixes file. -if _load_file(config.datafilepath('user-fixes.py')): +filename = config.datafilepath('user-fixes.py') +if _load_file(filename): user_fixes_loaded = True else: user_fixes_loaded = False -- To view, visit https://gerrit.wikimedia.org/r/237442 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1ad213b6ad437ae10442ed9ff05160f177b746d2 Gerrit-PatchSet: 2 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: XZise <commodorefabia...@gmx.de> Gerrit-Reviewer: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com> Gerrit-Reviewer: XZise <commodorefabia...@gmx.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits