pylint #8350 C0322 false positive on multi-line string [resolved]

Carl Chenet reported on python-projects :

I've got some weird behaviors with pylint and cut strings. I'm generating html so I'm using this kind of lines :

          self.titreprojet = '<tr><td colspan="10">\
<img src="images/drapeau_vert.png" alt="Drapeau vert" />\
<strong>%s</strong></td></tr>' % projet

and pylint tells me :

C:110:EditionPage.genere_titre_projet: Operator not preceded by a space
          self.titreprojet = '<tr><td colspan="10">\
<strong>%s</strong></td></tr>' % projet
     ^
C:115:EditionPage.genere_titre_projet: Operator not preceded by a space
          self.titreprojet = '<tr><td colspan="10">\
<strong>%s</strong></td></tr>' % projet
     ^
C:119:EditionPage.genere_titre_projet: Operator not preceded by a space
          self.titreprojet = '<tr><td colspan="10">\
<strong>%s</strong></td></tr>' % projet
     ^
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 23)</p>
Literal block ends without a blank line; unexpected unindent.

Pylint seems to misunderstand that my equal sign is inside a string.

priorityimportant
typebug
done in0.18.0
load0.500
load left0.000
closed by<not specified>