Home | History | Annotate | Download | only in test

Lines Matching refs:fp

140             fp = open(path)
142 msg = MIMEText(fp.read(), _subtype=subtype)
143 fp.close()
145 fp = open(path, 'rb')
146 msg = MIMEImage(fp.read(), _subtype=subtype)
147 fp.close()
149 fp = open(path, 'rb')
150 msg = MIMEAudio(fp.read(), _subtype=subtype)
151 fp.close()
153 fp = open(path, 'rb')
155 msg.set_payload(fp.read())
156 fp.close()
166 fp = open(opts.output, 'w')
167 fp.write(composed)
168 fp.close()