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.
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101853?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I8559f8585effe9d799feb58a6f48c0f22e5c1a18
Gerrit-Change-Number: 1101853
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]