commit | 804073bd1f4c3910abb9334cb326cd8f78c15153 | [log] [tgz] |
---|---|---|
author | Clint Byrum <clint@fewbar.com> | Wed May 10 17:47:45 2017 -0400 |
committer | Clint Byrum <clint@fewbar.com> | Fri May 19 06:45:30 2017 -0700 |
tree | cec0158435212c2251bb563abdf2175eadae30ee | |
parent | af7438fd3954cd10da3d111c2e848f6dd511bb88 [diff] |
None does not compare to int Change-Id: Ia1542e40faa4a49d00289eec7717a0f5a47122fc
diff --git a/zuul/model.py b/zuul/model.py index 8284b03..12f08ae 100644 --- a/zuul/model.py +++ b/zuul/model.py
@@ -1235,7 +1235,7 @@ del self.node_requests[job_name] def getTries(self, job_name): - return self.tries.get(job_name) + return self.tries.get(job_name, 0) def getMergeMode(self): if self.layout: