Skip to content

Commit

Permalink
Remove unneeded string format usage
Browse files Browse the repository at this point in the history
  • Loading branch information
maszyk99 committed Mar 4, 2024
1 parent 6082881 commit 9053482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splunklib/searchcommands/search_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def _process_protocol_v2(self, argv, ifile, ofile):

if missing is not None:
if len(missing) == 1:
self.write_error(f'A value for "{missing[0]}" is required'.format())
self.write_error(f'A value for "{missing[0]}" is required')
else:
self.write_error(f'Values for these required options are missing: {", ".join(missing)}')
error_count += 1
Expand Down

0 comments on commit 9053482

Please sign in to comment.