Merge "Fix line numbers in job repr"

This commit is contained in:
Zuul 2018-07-17 17:04:57 +00:00 committed by Gerrit Code Review
commit 21a0297142
1 changed files with 1 additions and 1 deletions

View File

@ -1073,7 +1073,7 @@ class Job(ConfigObject):
def __repr__(self):
ln = 0
if self.start_mark:
ln = self.start_mark.line
ln = self.start_mark.line + 1
return '<Job %s branches: %s source: %s#%s>' % (
self.name,
self.branch_matcher,