From c796b0be6ccd36788b9242b5c638f3e3dba8fcbc Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Mon, 4 Feb 2019 17:32:07 -0500 Subject: [PATCH] Actually fix CI --- .travis.yml | 3 ++- parsedmarc/cli.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 630ade8..7a867f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ script: - "cd .." - "python tests.py" - "python setup.py install" - - "parsedmarc -c ci.ini" + - "parsedmarc -c ci.ini samples/aggregate/*" + - "parsedmarc -c ci.ini samples/forensic/*" - "python setup.py sdist" - "python setup.py bdist_wheel" diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index e09401a..f9c1e65 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -309,7 +309,7 @@ def _main(): fh.setFormatter(formatter) logger.addHandler(fh) if opts.imap_host is None and len(opts.file_path) == 0: - arg_parser.print_help() + logger.error("You must supply input files, or an IMAP configuration") exit(1) if opts.save_aggregate or opts.save_forensic: