jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/496060 )
Change subject: [tests] Fix flake8-tuple T801 error
......................................................................
[tests] Fix flake8-tuple T801 error
flake8-tuple 0.2.14 has introduces a new error T801. Fix this
Change-Id: I7a617a6fbc06b4bb9e9dd28d47271e5b899db3f4
---
M pywikibot/families/wikiquote_family.py
M pywikibot/family.py
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Dvorapa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/families/wikiquote_family.py
b/pywikibot/families/wikiquote_family.py
index 4025781..8c026e6 100644
--- a/pywikibot/families/wikiquote_family.py
+++ b/pywikibot/families/wikiquote_family.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""Family module for Wikiquote."""
#
-# (C) Pywikibot team, 2005-2018
+# (C) Pywikibot team, 2005-2019
#
# Distributed under the terms of the MIT license.
#
@@ -79,4 +79,4 @@
return 'utf-8', 'iso8859-2'
if code == 'ru':
return 'utf-8', 'iso8859-5'
- return self.code2encoding(code),
+ return (self.code2encoding(code), )
diff --git a/pywikibot/family.py b/pywikibot/family.py
index 0a89a9e..1b82b8c 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -1382,7 +1382,7 @@
def code2encodings(self, code):
"""Return list of historical encodings for a specific language
Wiki."""
- return self.code2encoding(code),
+ return (self.code2encoding(code), )
# aliases
def encoding(self, code):
--
To view, visit
https://gerrit.wikimedia.org/r/496060
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7a617a6fbc06b4bb9e9dd28d47271e5b899db3f4
Gerrit-Change-Number: 496060
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)