Projet

Général

Profil

0064-misc-fix-used-before-assignment-pylint-error-62099.patch

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

Télécharger (1019 octets)

Voir les différences:

Subject: [PATCH 64/65] misc: fix used-before-assignment pylint error (#62099)

 passerelle/utils/zip.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
passerelle/utils/zip.py
119 119
        template_path = os.path.join(self.base_path, self.template_path)
120 120
        if template_path.startswith('/'):
121 121
            if not os.path.exists(template_path):
122
                raise ZipTemplateDoesNotExist('part template %s not found' % template_path, e)
122
                raise ZipTemplateDoesNotExist('part template %s not found' % template_path)
123 123
            try:
124 124
                with open(template_path) as fd:
125 125
                    return Template(fd.read())
126
-