code: def _purge_crawl(self, spiderid, appid, crawlid):
          '''
          Wrapper for purging the crawlid from the queues
  
          @param spiderid: the spider id
          @param appid: the app id
          @param crawlid: the crawl id
          @return: The number of requests purged
          '''
          # purge three times to try to make sure everything is cleaned
          total = self._mini_purge(spiderid, appid, crawlid)
          total = total + self._mini_purge(spiderid, appid, crawlid)
          total = total + self._mini_purge(spiderid, appid, crawlid)
  
          return totaf _purge_crawl(self, spiderid, appid, crawlid):
          '''
          Wrapper for purging the crawlid from the queues
  
          @param spiderid: the spider id
          @param appid: the app id
          @param crawlid: the crawl id
          @return: The number of requests purged
          '''
          # purge three times to try to make sure everything is cleaned
          total = self._mini_purge(spiderid, appid, crawlid)
          total = total + self._mini_purge(spiderid, appid, crawlid)
          total = total + self._mini_purge(spiderid, appid, crawlid)
  
          return total
docs: Wrapper for purging the crawlid from the queues
  
          @param spiderid: the spider id
          @param appid: the app id
          @param crawlid: the crawl id
          @return: The number of requests purged