diff options
author | Scott Moser <smoser@nelson> | 2010-01-06 21:00:25 -0500 |
---|---|---|
committer | Scott Moser <smoser@nelson> | 2010-01-06 21:00:25 -0500 |
commit | 3b0d26fb17f338630a08e5c1a8793939fa991d4f (patch) | |
tree | 89f005596608dad13e1943bb2685d38b8c93e4b5 /tools | |
parent | a280ac3087deed1a7e9ca5f561094291d0b62ffe (diff) | |
download | vyos-cloud-init-3b0d26fb17f338630a08e5c1a8793939fa991d4f.tar.gz vyos-cloud-init-3b0d26fb17f338630a08e5c1a8793939fa991d4f.zip |
mention where it came from
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/write-mime-multipart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/write-mime-multipart b/tools/write-mime-multipart index 99cfe299..d812e260 100755 --- a/tools/write-mime-multipart +++ b/tools/write-mime-multipart @@ -1,4 +1,6 @@ #!/usr/bin/python +# largely taken from python examples +# http://docs.python.org/library/email-examples.html """Send the contents of a directory as a MIME message.""" @@ -8,8 +10,6 @@ import smtplib # For guessing MIME type based on file name extension import mimetypes -from optparse import OptionParser - from email import encoders from email.message import Message from email.mime.base import MIMEBase |