jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101853?usp=email )
Change subject: IMPR: use Path.cwd() classmethod to get the absolute path instead resolve() ......................................................................
IMPR: use Path.cwd() classmethod to get the absolute path instead resolve()
Change-Id: I8559f8585effe9d799feb58a6f48c0f22e5c1a18 --- M make_dist.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/make_dist.py b/make_dist.py index e00622b..03bb39b 100755 --- a/make_dist.py +++ b/make_dist.py @@ -90,7 +90,7 @@
def __post_init__(self) -> None: """Post-init initializer.""" - self.folder = Path().resolve() + self.folder = Path.cwd()
def clear_old_dist(self) -> None: # pragma: no cover """Delete old dist folders.
pywikibot-commits@lists.wikimedia.org