def apply_transforms(self): try: Transform.process(self) except TransformError, e: self.error(str(e))