From 3307760a3361d33ed16943588ad4a0f1df4b59d3 Mon Sep 17 00:00:00 2001 From: kotfu Date: Sun, 14 Jul 2019 14:54:23 -0600 Subject: Fix lint error for unused variable --- examples/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/example.py b/examples/example.py index a62c258b..b8f8202c 100755 --- a/examples/example.py +++ b/examples/example.py @@ -66,7 +66,7 @@ class CmdLineApp(cmd2.Cmd): def do_mumble(self, args): """Mumbles what you tell me to.""" repetitions = args.repeat or 1 - for i in range(min(repetitions, self.maxrepeats)): + for _ in range(min(repetitions, self.maxrepeats)): output = [] if random.random() < .33: output.append(random.choice(self.MUMBLE_FIRST)) -- cgit v1.2.1