Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/h/challenge2011-HEAD/bugextraction/bugiter/bugzillaBugIterator.py   challenge2011(Download)
  def write(self,write,p,downloaddir):
    write( str(p[0])+".html",downloaddir,p[1] )
    write( str(p[0])+"-history.html",downloaddir, self.retryFetchPage( self.baseurl + "/show_activity.cgi?id=" + str(p[0]),self.delay) )
 
  def getPage(self,delay):
      url = self.baseurl + "/show_bug.cgi?id=" + str(self.currentid)
      self.currentid += 1
      page = self.retryFetchPage(url,delay)
      flag = self.isInvalid(page,self.currentid-1)
      time.sleep(delay)

src/c/h/challenge2011-HEAD/bugextraction/bugiter/chromeBugIterator.py   challenge2011(Download)
      url = self.baseurl + str(self.currentid)
      self.currentid += 1
      page = self.retryFetchPage(url,delay)
      flag = self.isInvalid(page,self.currentid-1)
      time.sleep(delay)