Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple changes; python 2 support, dictionary, mutator refactor #26

Merged
merged 15 commits into from Jan 19, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix for corpus crashing if no mutator_filters supplied.

The mutator filters were being treated as a string, even when they
were using the request for the defaults.
  • Loading branch information
gerph committed Jan 11, 2020
commit 26d1e0ef4758930dea208b22a1ff4e79b90a530a
@@ -407,7 +407,7 @@ def __init__(self, dirs=None, max_input_size=4096, mutators_filter=None, dict_pa
self._save_corpus = dirs and os.path.isdir(dirs[0])

# Work out what we'll filter
filters = mutators_filter.split(' ')
filters = mutators_filter.split(' ') if mutators_filter else []
negative_filters = [f[1:] for f in filters if f and f[0] == '!']
required_filters = [f for f in filters if f and f[0] != '!']

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.