def attach_file(self, path, mimetype=None):
        filename = os.path.basename(path)
        with open(path, 'rb') as f:
            content = f.read()
        self.attach(filename, content, mimetype)
Helper for extracting Procedure data from the CCR.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/core/mail/message.py/EmailMessage.attach_file--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/health/__init__.py/Ccr.GetProcedures