def resumeProducing(self):
        b = ''
        if self.firstWrite:
            b = self._size() % '{%d}\r\n'
            self.firstWrite = False
        if not self.f:
            return
        b = b + self.f.read(self.CHUNK_SIZE)
        if not b:
            self.consumer.unregisterProducer()
            self._onDone.callback(self)
            self._onDone = self.f = self.consumer = None
        else:
            self.produce(b)
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/mail/imap4.py/FileProducer.resumeProducing/swapped operands of `%`