diff --git a/ReviewBot.py b/ReviewBot.py index b9a1df23..adbbae4f 100644 --- a/ReviewBot.py +++ b/ReviewBot.py @@ -270,6 +270,8 @@ class ReviewBot(object): url = osc.core.makeurl(self.apiurl, ('search', 'request'), "match=state/@name='review'+and+review[%s]&withhistory=1"%review) root = ET.parse(osc.core.http_GET(url)).getroot() + self.requests = [] + for request in root.findall('request'): req = osc.core.Request() req.read(request)