jenkins-bot has submitted this change and it was merged.
Change subject: Fix long line not detected by pep8 ......................................................................
Fix long line not detected by pep8
Long lines ending in \ were not detected by pep8
https://github.com/PyCQA/pep8/issues/319
pep8 now reports this as an error.
Change-Id: Ie1ac0fb2d324f28dc973a1a2bb05e660ff0052a3 --- M scripts/imagecopy_self.py 1 file changed, 6 insertions(+), 2 deletions(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/imagecopy_self.py b/scripts/imagecopy_self.py index 7cc3741..d385a7f 100644 --- a/scripts/imagecopy_self.py +++ b/scripts/imagecopy_self.py @@ -843,8 +843,12 @@
cid = u'' if self.checktemplate: - cid += u'\n{{BotMoveToCommons|%(lang)s.%(family)s|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}}\n' \ - % {u'lang': lang, u'family': family} + cid += ('\n{{BotMoveToCommons|%(lang)s.%(family)s' + '|year={{subst:CURRENTYEAR}}' + '|month={{subst:CURRENTMONTHNAME}}' + '|day={{subst:CURRENTDAY}}}}\n' + % {'lang': lang, 'family': family} + ) cid += u'== {{int:filedesc}} ==\n' cid += u'{{Information\n' cid += u'|description=%(description)s\n' % fields