def processOne(self, deferred):
        if self.stopping:
            deferred.callback(self.root)
            return
        
        try:
            self.remaining=self.iterator.next()
        except __HOLE__:
            self.stopping=1            
        except:
            deferred.errback(failure.Failure())
        
        if self.remaining%10==0:
            reactor.callLater(0, self.updateBar, deferred)
        if self.remaining%100==0:
            log.msg(self.remaining)
        reactor.callLater(0, self.processOne, deferred)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/scripts/tkunzip.py/Progressor.processOne