Xqt has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/354880 )
Change subject: Remove TODO remark in pwb.py
......................................................................
Remove TODO remark in pwb.py
pwb.py is a wrapper script to enable the pywikibot framework if it is not
installed as a side package. It should not use and it should not have to use
the package itself. We have the same issue with the print function.
We don't use the pywikibot.output() inside and we never should do it.
Change-Id: I4edfef43b538c411847eafa2ee279d632b0bbd61
---
M pwb.py
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/80/354880/1
diff --git a/pwb.py b/pwb.py
index 6779dd8..97dd1d8 100755
--- a/pwb.py
+++ b/pwb.py
@@ -9,7 +9,7 @@
and it will use the package directory to store all user files, will fix up
search paths so the package does not need to be installed, etc.
"""
-# (C) Pywikibot team, 2015-2016
+# (C) Pywikibot team, 2015-2017
#
# Distributed under the terms of the MIT license.
#
@@ -136,7 +136,6 @@
path = os.path.abspath(path)
if path[0] != '/':
# normalise Windows drive letter
- # TODO: use pywikibot.tools.first_upper
path = path[0].upper() + path[1:]
return path
--
To view, visit https://gerrit.wikimedia.org/r/354880
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4edfef43b538c411847eafa2ee279d632b0bbd61
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits