config2 should be preferable imported due to circular Imports but not both
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
imported config2 as config and renamed config2 as config | pywikibot/core | master | +4 -3 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T223529 Pywikibot good first bugs (tracking) | |||
Resolved | Homeboy_445 | T264564 weblinkchecker imports both config and config2 |
Event Timeline
Hey there, I would like to tackle this task but I need some assistance for the same. So would you help me to get started with solving this?
Yes but you have to rename their usage. I propose to Import config2 as config and rename the config2 usage to config e.g.
from pywikibot import config2 as config
the replace all occurences of config2 to config
Okay got it! So my task is to import config2 as config and rename config2's usage to config. I'm on it and will let you know as soon as its done!
Change 638097 had a related patch set uploaded (by Homeboy 445; owner: Homeboy 445):
[pywikibot/core@master] imported config2 as config and renamed config2 as config
Change 638097 had a related patch set uploaded (by Homeboy 445; owner: Homeboy 445):
[pywikibot/core@master] imported config2 as config and renamed config2 as config
Change 638097 merged by jenkins-bot:
[pywikibot/core@master] imported config2 as config and renamed config2 as config