Hmm... as well as adding '-v' to the mail job, we need the following cowboy. We will then get information about the jobs as they are being run in the log file. With that we can debug more.
=== 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):
Hmm... as well as adding '-v' to the mail job, we need the following cowboy. We will then get information about the jobs as they are being run in the log file. With that we can debug more.
=== modified file 'lib/lp/ code/model/ branchjob. py' code/model/ branchjob. py 2010-04-23 05:29:30 +0000 code/model/ branchjob. py 2010-05-25 03:56:09 +0000
self. context = branch_job
--- lib/lp/
+++ lib/lp/
@@ -183,6 +183,13 @@
def __init__(self, branch_job):
+ def __repr__(self): job_type. name,
+ branch = self.branch
+ return '<%(job_type)s job for %(branch)s>' % {
+ 'job_type': self.context.
+ 'branch': branch.unique_name,
+ }
+
# XXX: henninge 2009-02-20 bug=331919: These two standard operators
# should be implemented by delegates().
def __eq__(self, other):