From 0b32b9751ca928a118a2cf2648d58fb3c1b5e03b Mon Sep 17 00:00:00 2001 From: Romain Dorgueil Date: Sat, 11 Aug 2018 06:56:42 +0200 Subject: [PATCH] smell: rename unused var --- bonobo/commands/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonobo/commands/init.py b/bonobo/commands/init.py index 6d4b217..aa4d841 100644 --- a/bonobo/commands/init.py +++ b/bonobo/commands/init.py @@ -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.')