def attach_related_file(self, path, mimetype=None):
        filename = os.path.basename(path)
        content = open(path, 'rb').read()
        self.attach_related(filename, content, mimetype)
Reboot the system
dataset/ETHPy150Open baskoopmans/djcommon/djcommon/email.py/EmailMultiRelated.attach_related_file--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/solaris_system.py/reboot