Fix(/ignore) PEP8/flake8 errors

This commit is contained in:
Frederik “Freso” S. Olesen
2017-06-01 02:31:03 +02:00
parent 5ba3e924fb
commit a0c0ce7e47
2 changed files with 12 additions and 10 deletions

View File

@@ -254,11 +254,11 @@ class Program:
# Find the section of the template with the release name
for i, part in enumerate(templateParts):
if "%d" in part:
templateParts[i] = self.addDisambiguation(part, self.metadata)
templateParts[i] = self.addDisambiguation(part, self.metadata) # noqa: E501
break
else:
# No parts of the template contain the release
templateParts[-1] = self.addDisambiguation(templateParts[-1], self.metadata)
templateParts[-1] = self.addDisambiguation(templateParts[-1], self.metadata) # noqa: E501
template = os.path.join(*templateParts)
logger.debug('Disambiguated template to %r' % template)