GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit 1a81b3df authored by Ana Custura's avatar Ana Custura Committed by Karsten Loesing

Add path validation to filter interface

parent dcab2143
......@@ -439,6 +439,9 @@ def analyze(args):
def filter(args):
from onionperf.filtering import Filtering
p = os.path.abspath(os.path.expanduser(args.input))
if not os.path.exists(p):
raise argparse.ArgumentTypeError("path '%s' does not exist" % args.input)
filtering = Filtering()
if args.include_fingerprints is not None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment