Projet

Général

Profil

0039-misc-fix-implicit-str-concat-pylint-error-62099.patch

Lauréline Guérin, 22 mars 2022 10:30

Télécharger (1,8 ko)

Voir les différences:

Subject: [PATCH 39/65] misc: fix implicit-str-concat pylint error (#62099)

 passerelle/apps/mdel/mdel.py | 2 +-
 passerelle/base/models.py    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
passerelle/apps/mdel/mdel.py
336 336
        ('anterieur_situation_raw', 'SituationElectoraleAnterieure_SituationDeLElecteur'),
337 337
        (
338 338
            'anterieur_consulat',
339
            'SituationElectoraleAnterieure_ConsulatDePrecedenteInscription' '_AmbassadeOuPosteConsulaire',
339
            'SituationElectoraleAnterieure_ConsulatDePrecedenteInscription_AmbassadeOuPosteConsulaire',
340 340
        ),
341 341
        ('anterieur_consulat_pays_raw', 'SituationElectoraleAnterieure_ConsulatDePrecedenteInscription_Pays'),
342 342
        ('anterieur_localite', 'SituationElectoraleAnterieure_CommuneDePrecedenteInscription_Localite'),
passerelle/base/models.py
196 196
        for field in form_class.base_fields.values():
197 197
            if isinstance(field.widget, ClearableFileInput):
198 198
                field.widget.template_with_initial = (
199
                    '' '%(initial_text)s: %(initial)s ' '%(clear_template)s<br />%(input_text)s: %(input)s'
199
                    '%(initial_text)s: %(initial)s %(clear_template)s<br />%(input_text)s: %(input)s'
200 200
                )
201 201
        return form_class
202 202

  
203
-