From 798d15c0f1a37d38dfcec2fd0eaefcb061ed9965 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Wed, 27 Jan 2016 15:59:53 -0500 Subject: [PATCH] Fix bug in account error checking --- bin/reporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reporting.py b/bin/reporting.py index d3de4a0..60d202b 100644 --- a/bin/reporting.py +++ b/bin/reporting.py @@ -86,7 +86,7 @@ def report(cmd): cwd = getcwd() try: chdir(path.realpath(path.join(path.dirname(__file__), '..'))) - cmd += ['-f', 'declarations.dat'] + cmd = [cmd[0]] + ['-f', 'declarations.dat', '--pedantic'] + cmd[1:] retcode = subprocess.call(' '.join(cmd), shell=True) if retcode != 0: raise SystemExit(retcode)