Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #3355
Status: Errored
Duration: 1 hour, 54 minutes, and 43 seconds
Commit: 392c6ed (master)
Author: Mpaa
Message: djvutxt.py: specify Page ns in title when creating Page
Construct target page title using explicitly Proofread Page namespace to
avoid errors when instantiating ProofreadPage object.
Bug: T130908
Change-Id: I1e138e694acb3523b8e3be1efa447ffaa681dd9b
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/9d4063e3aa6c...392c6edc…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/118580660
--
You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
jenkins-bot has submitted this change and it was merged.
Change subject: [IMPR] Show which special page is retrieved
......................................................................
[IMPR] Show which special page is retrieved
- If the operator is running multiple scripts maybe in a loop
it is a good approach to inform him which special page is processed.
- The additional comment may be omitted then.
Change-Id: I85ec74cc626e00e3daaf9cad33f4664925b7219e
---
M scripts/redirect.py
1 file changed, 2 insertions(+), 4 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/redirect.py b/scripts/redirect.py
index 8677d14..cb12475 100755
--- a/scripts/redirect.py
+++ b/scripts/redirect.py
@@ -295,8 +295,7 @@
elif self.page_title:
yield self.page_title
else:
- # retrieve information from broken redirect special page
- pywikibot.output(u'Retrieving special page...')
+ pywikibot.output('Retrieving broken redirect special page...')
for page in self.site.preloadpages(self.site.broken_redirects()):
yield page
@@ -330,8 +329,7 @@
elif self.page_title:
yield self.page_title
else:
- # retrieve information from double redirect special page
- pywikibot.output(u'Retrieving special page...')
+ pywikibot.output('Retrieving double redirect special page...')
for page in self.site.preloadpages(self.site.double_redirects()):
yield page
--
To view, visit https://gerrit.wikimedia.org/r/279586
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I85ec74cc626e00e3daaf9cad33f4664925b7219e
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>
jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] assign total variable to None in first step
......................................................................
[bugfix] assign total variable to None in first step
Initialize total variable to None. Otherwise an error may occur
e.g. if all named parameters are None:
UnboundLocalError: local variable 'total' referenced before assignment
Change-Id: I2b4f6a4be834a1098957ec4d73b91a73bdb45421
---
M pywikibot/pagegenerators.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py
index 10fde98..224f93a 100644
--- a/pywikibot/pagegenerators.py
+++ b/pywikibot/pagegenerators.py
@@ -585,9 +585,9 @@
# TODO: -*log used 500 as default total, also use with -logevents?
# 'start or None', because start might be an empty string
+ total = None
start = start or None
if isinstance(start, basestring) and len(start) == 8:
- total = None
start = pywikibot.Timestamp.strptime(start, '%Y%m%d')
elif start is not None:
try:
--
To view, visit https://gerrit.wikimedia.org/r/279613
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2b4f6a4be834a1098957ec4d73b91a73bdb45421
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>