<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_s_by_plug(self):
 """Link a module to some other modules :return: None """

        for module in self:
            new_modules = []
            for related in getattr(module, 'modules', []):
                related = related.strip()
                if not related:
                    continue
                o_related = self.find_by_name(related)
                if o_related is not None:
                    new_modules.append(o_related.uuid)
                else:
                    self.add_error("the module '%s' for the module '%s' is unknown!"
                                   % (related, module.get_name()))
            module.modules = new_modules