Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.mail.mailimport.attachment Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 filename
 mimetype
 data

Detailed Description

Represents an attachment of a mail. 

Definition at line 29 of file mailimport.py.


Constructor & Destructor Documentation

def MoinMoin.mail.mailimport.attachment.__init__ (   self,
  filename,
  mimetype,
  data 
)

Definition at line 31 of file mailimport.py.

00031 
00032     def __init__(self, filename, mimetype, data):
00033         self.filename = filename
00034         self.mimetype = mimetype
00035         self.data = data


Member Function Documentation

Definition at line 36 of file mailimport.py.

00036 
00037     def __repr__(self):
00038         return "<attachment filename=%r mimetype=%r size=%i bytes>" % (
00039             self.filename, self.mimetype, len(self.data))


Member Data Documentation

Definition at line 34 of file mailimport.py.

Definition at line 32 of file mailimport.py.

Definition at line 33 of file mailimport.py.


The documentation for this class was generated from the following file: