From 82ae0cc59da580d566607202e1a38ef2c6d60607 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mon, 9 Oct 2017 18:18:28 -0400 Subject: [PATCH] try_count is str, not int --- lib/sumfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sumfiles.py b/lib/sumfiles.py index aed9713..d220adc 100644 --- a/lib/sumfiles.py +++ b/lib/sumfiles.py @@ -95,7 +95,7 @@ class DejaResults(object): f.write (sum_dict[0][k] + ': ' + k + '\n') 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: self.write_try_build_sum_file (self, sum_dict, builder, branch, rev, try_count = try_count)