diff options
author | kotfu <kotfu@kotfu.net> | 2019-11-27 09:53:16 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2019-11-27 09:53:16 -0700 |
commit | 5058d7ad4e6ce308b0e923838f6a0f03aedfe150 (patch) | |
tree | 42d2a4bdd38dd87eb3b62166db4d2a887a0a72ab /examples | |
parent | 7175181a8dfe3d0b5b620a12338912625e1d0045 (diff) | |
download | cmd2-git-5058d7ad4e6ce308b0e923838f6a0f03aedfe150.tar.gz |
Remove unused variable
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/plumbum_colors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plumbum_colors.py b/examples/plumbum_colors.py index a969c4de..b4f0ad1c 100755 --- a/examples/plumbum_colors.py +++ b/examples/plumbum_colors.py @@ -104,7 +104,7 @@ class CmdLineApp(cmd2.Cmd): repetitions = args.repeat or 1 output_str = ansi.style(' '.join(words), fg=args.fg, bg=args.bg, bold=args.bold, underline=args.underline) - for i in range(min(repetitions, self.maxrepeats)): + for _ in range(min(repetitions, self.maxrepeats)): # .poutput handles newlines, and accommodates output redirection too self.poutput(output_str) |