<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def linkify_one_command_with_commands(self, commands, prop):
 """ Link a command :param commands: object commands :type commands: object :param prop: property name :type prop: str :return: None """


        if not hasattr(self, prop):
            return

        command = getattr(self, prop).strip()
        if not command:
            setattr(self, prop, None)
            return

        data = {"commands": commands, "call": command}
        if hasattr(self, 'poller_tag'):
            data.update({"poller_tag": self.poller_tag})
        if hasattr(self, 'reactionner_tag'):
            data.update({"reactionner_tag": self.reactionner_tag})

        setattr(self, prop, CommandCall(data))