0064-misc-fix-used-before-assignment-pylint-error-62099.patch
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 |
- |