def register_with_context(self, myname, context): BuildTarget.register_with_context(self, myname, context) self.task.name = myname + ".mapped_task"