jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/841902 )

Change subject: [BUGFIX] Fix disolving script_paths for site-package
......................................................................

[BUGFIX] Fix disolving script_paths for site-package

Bug: T320530
Change-Id: I0625e5fa185b10bad4dc01fc48ee2e0000b32693
---
M pwb.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  JJMC89: Looks good to me, approved
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pwb.py b/pwb.py
index b1694de..513f876 100755
--- a/pwb.py
+++ b/pwb.py
@@ -399,7 +399,7 @@
         return None

     if site_package:  # pragma: no cover
-        script_paths = [_pwb_dir]
+        script_paths = ['']  # only use the root as path
     else:
         script_paths = [
             'scripts.userscripts',

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/841902
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0625e5fa185b10bad4dc01fc48ee2e0000b32693
Gerrit-Change-Number: 841902
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: JJMC89 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to