try_count is str, not int

This commit is contained in:
Sergio Durigan Junior 2017-10-09 18:18:28 -04:00
parent 731c6b1d6e
commit 82ae0cc59d

View file

@ -95,7 +95,7 @@ class DejaResults(object):
f.write (sum_dict[0][k] + ': ' + k + '\n') f.write (sum_dict[0][k] + ': ' + k + '\n')
os.umask (old_umask) os.umask (old_umask)
def write_sum_file(self, sum_dict, builder, branch, rev, istry, try_count = 0): def write_sum_file(self, sum_dict, builder, branch, rev, istry, try_count = "0"):
if istry: if istry:
self.write_try_build_sum_file (self, sum_dict, builder, branch, rev, self.write_try_build_sum_file (self, sum_dict, builder, branch, rev,
try_count = try_count) try_count = try_count)