=== modified file 'lib/lp/code/model/branchjob.py' --- lib/lp/code/model/branchjob.py 2010-04-23 05:29:30 +0000 +++ lib/lp/code/model/branchjob.py 2010-05-25 03:56:09 +0000 @@ -183,6 +183,13 @@ def __init__(self, branch_job): self.context = branch_job + def __repr__(self): + branch = self.branch + return '<%(job_type)s job for %(branch)s>' % { + 'job_type': self.context.job_type.name, + 'branch': branch.unique_name, + } + # XXX: henninge 2009-02-20 bug=331919: These two standard operators # should be implemented by delegates(). def __eq__(self, other):