smell: rename unused var

This commit is contained in:
Romain Dorgueil
2018-08-11 06:56:42 +02:00
parent 7269f2cc54
commit 0b32b9751c

View File

@ -33,7 +33,7 @@ class InitCommand(BaseCommand):
self.logger.info('Generated {} using template {!r}.'.format(filename, template_name))
def create_package(self, *, filename):
name, ext = os.path.splitext(filename)
_, ext = os.path.splitext(filename)
if ext != '':
raise ValueError('Package names should not have an extension.')