diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2014-07-16 10:41:13 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2014-07-16 10:41:13 -0700 |
commit | 5d879d2303493e3e5d886a739661b531ed2b1333 (patch) | |
tree | 629d68aceeca43ccac7eb666d5100c5a54c267c1 | |
parent | f8ff962fdb1306de054c65a76ff4d35a33bccf69 (diff) |
Report.py: call get_result method on file argumentsfix-report
This fixes a bug introduced by 8ca864, which accidentally removed the
sue of get_result()
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
-rwxr-xr-x | report.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,8 +45,8 @@ def get_result_string(p, b, a): def main(): parser = argparse.ArgumentParser() - parser.add_argument("before", help="the output of the original code") - parser.add_argument("after", help="the output of the new code") + parser.add_argument("before", type=get_results, help="the output of the original code") + parser.add_argument("after", type=get_results, help="the output of the new code") args = parser.parse_args() total_before = 0 |