def handle_transform(self, task):
		"""Handle a 'transform' callback."""
		self.transformed += 1

		file = task.result()
		if file:
			self.next.append_file(file)

		self.flush_if_ended()
def handle_transform ( self , task ) : self . transformed += 1 file = task . result ( ) if file : self . next . append_file ( file ) self . flush_if_ended ( )
Handle a 'transform' callback.