jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/433729 )
Change subject: [bugfix] Use absolute path for generate_user_files.py ......................................................................
[bugfix] Use absolute path for generate_user_files.py
Bug: T101829 Change-Id: Id53abdad22b86bd4a8c7707861831b4f8ccbdd42 --- M pwb.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pwb.py b/pwb.py index afd2607..67a0682 100755 --- a/pwb.py +++ b/pwb.py @@ -178,7 +178,7 @@ or filename == 'version.py'): print("NOTE: 'user-config.py' was not found!") print("Please follow the prompts to create it:") - run_python_file('generate_user_files.py', + run_python_file(os.path.join(_pwb_dir, 'generate_user_files.py'), ['generate_user_files.py'], ['generate_user_files.py']) # because we have loaded pywikibot without user-config.py loaded, we need to re-start
pywikibot-commits@lists.wikimedia.org