def __init__(self,
              scheduler,
              gerrit_host,
              gerrit_projects=None,
              pollInterval=None,
              dry_run=None):
     assert scheduler
     GerritPoller.__init__(self, gerrit_host, gerrit_projects, pollInterval,
                           dry_run)
     self.scheduler = scheduler
 def getChangeQuery(self):
   query = GerritPoller.getChangeQuery(self)
   # Request only issues with TryJob=+1 label.
   query += '+label:%s=%s' % (self.label_name, urllib.quote('+1'))
   return query
 def __init__(self, scheduler, gerrit_host, gerrit_projects=None,
              pollInterval=None, dry_run=None):
   assert scheduler
   GerritPoller.__init__(self, gerrit_host, gerrit_projects, pollInterval,
                         dry_run)
   self.scheduler = scheduler
 def getChangeQuery(self):
     query = GerritPoller.getChangeQuery(self)
     # Request only issues with TryJob=+1 label.
     query += '+label:%s=%s' % (self.label_name, urllib.quote('+1'))
     return query
 def getChangeQuery(self):
   query = GerritPoller.getChangeQuery(self)
   # Request only issues with TryJob=+1 label.
   query += '+label:TryJob=%2B1'
   return query