removes match_string variable (#4671)

The `match_string` variable is an alias of `grep_string` and thus can be
replaced by it.

Co-authored-by: Mario Seeli <mario.seeli@dectris.com>
This commit is contained in:
lamba09 2021-05-12 22:00:41 +02:00 committed by GitHub
parent a56177ee56
commit 080e830bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -37,10 +37,6 @@ def check_plots(root_path, num, challenge_start, grep_string, list_duplicates, d
num_end = num
challenges = num_end - num_start
if grep_string is not None:
match_str = grep_string
else:
match_str = None
if list_duplicates:
log.warning("Checking for duplicate Plot IDs")
log.info("Plot filenames expected to end with -[64 char plot ID].plot")
@ -67,7 +63,7 @@ def check_plots(root_path, num, challenge_start, grep_string, list_duplicates, d
{},
pks,
pool_public_keys,
match_str,
grep_string,
show_memo,
root_path,
open_no_key_filenames=True,