From 8c292767e3b14f6e43e58400fd9da818490bd5c0 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Wed, 18 Oct 2017 11:23:20 -0400 Subject: [PATCH] try_count is str --- lib/gdbcommand.py | 4 ++-- lib/sumfiles.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/gdbcommand.py b/lib/gdbcommand.py index 0f89502..ea33c2e 100644 --- a/lib/gdbcommand.py +++ b/lib/gdbcommand.py @@ -89,7 +89,7 @@ class GdbCatSumfileCommand(steps.ShellCommand): # This takes care of our very first build. if istry: parser.write_try_build_sum_file (cur_results, builder, branch, - rev, 0) + rev, "0") else: parser.write_sum_file (cur_results, builder, branch, rev, istry) # If there was no previous baseline, then this run @@ -111,7 +111,7 @@ class GdbCatSumfileCommand(steps.ShellCommand): # This takes care of our very first build. if istry: parser.write_try_build_sum_file (cur_results, builder, branch, - rev, 0) + rev, "0") else: parser.write_sum_file (cur_results, builder, branch, rev, istry) # If there was no previous baseline, then this run diff --git a/lib/sumfiles.py b/lib/sumfiles.py index d220adc..6d95fb8 100644 --- a/lib/sumfiles.py +++ b/lib/sumfiles.py @@ -98,7 +98,7 @@ class DejaResults(object): def write_sum_file(self, sum_dict, builder, branch, rev, istry, try_count = "0"): if istry: self.write_try_build_sum_file (self, sum_dict, builder, branch, rev, - try_count = try_count) + try_count = str (try_count)) else: self._write_sum_file (sum_dict, builder, rev, 'gdb.sum', istry = False, branch = branch) @@ -108,7 +108,7 @@ class DejaResults(object): header = "### THIS SUM FILE WAS GENERATED BY A TRY BUILD ###\n\n", istry = True, branch = branch, - try_count = try_count) + try_count = str (try_count)) def write_baseline(self, sum_dict, builder, branch, rev, istry): if istry: