summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2014-07-16 10:41:13 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2014-07-16 10:41:13 -0700
commit5d879d2303493e3e5d886a739661b531ed2b1333 (patch)
tree629d68aceeca43ccac7eb666d5100c5a54c267c1
parentf8ff962fdb1306de054c65a76ff4d35a33bccf69 (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-xreport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/report.py b/report.py
index 69fa9ec..79ee099 100755
--- a/report.py
+++ b/report.py
@@ -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