diff --git a/elastic_recheck/elasticRecheck.py b/elastic_recheck/elasticRecheck.py index 656f2d7b..593d7b35 100644 --- a/elastic_recheck/elasticRecheck.py +++ b/elastic_recheck/elasticRecheck.py @@ -95,7 +95,7 @@ class FailJob(object): # of the build_uuid. self.build_short_uuid = filter(None, url.split('/'))[-1] - def __str__(self): + def __repr__(self): return self.name @@ -187,6 +187,11 @@ class FailEvent(object): return None return list(bugs) + def __repr__(self): + return ("" % + (self.change, self.rev, self.project, self.url, self.comment)) + class Stream(object): """Gerrit Stream.