Skip to content

Commit c6b688a

Browse files
committed
No need for a separate variable
1 parent 9d0f877 commit c6b688a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

coverage/cmdline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,7 @@ def do_run(self, options, args):
629629
if options.module:
630630
self.run_python_module(args[0], args)
631631
else:
632-
filename = args[0]
633-
self.run_python_file(filename, args)
632+
self.run_python_file(args[0], args)
634633
except NoSource:
635634
code_ran = False
636635
raise

0 commit comments

Comments
 (0)