Skip to content

Commit 9053482

Browse files
committed
Remove unneeded string format usage
1 parent 6082881 commit 9053482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunklib/searchcommands/search_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ def _process_protocol_v2(self, argv, ifile, ofile):
739739

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

0 commit comments

Comments
 (0)