Merge "Add __repr__ to jobtree" into feature/zuulv3
diff --git a/zuul/model.py b/zuul/model.py
index 7bcc8f6..5a9e367 100644
--- a/zuul/model.py
+++ b/zuul/model.py
@@ -787,6 +787,9 @@
         self.job = job
         self.job_trees = []
 
+    def __repr__(self):
+        return '<JobTree %s %s>' % (self.job, self.job_trees)
+
     def addJob(self, job):
         if job not in [x.job for x in self.job_trees]:
             t = JobTree(job)