lib/gettor/requests.py
def parseMail(self):
        """Main mail parsing routine. Returns a RequestVal value class
        """
        if self.parsedMessage.is_multipart():
            for part in self.parsedMessage.walk():
                if part.get_content_maintype() == "text":
                    # We found a text part, parse it
                    self.parseTextPart(part.get_payload(decode=1))
        else:
            # Not a multipart message, just parse along what we've got
            self.parseTextPart(self.parsedMessage.get_payload(decode=1))

        if self.request['package'] is None:
            logging.debug("User didn't select any packages")

        return self.request
Main mail parsing routine. Returns a RequestVal value class
        
Main mail parsing routine. Returns a RequestVal value class
Main mail parsing routine . Returns a RequestVal value class
def parseMail(self):
        if self.parsedMessage.is_multipart():
            for part in self.parsedMessage.walk():
                if part.get_content_maintype() == "text":
                    self.parseTextPart(part.get_payload(decode=1))
        else:
            self.parseTextPart(self.parsedMessage.get_payload(decode=1))
        if self.request['package'] is None:
            logging.debug("User didn't select any packages")
        return self.request
def parseMail ( self ) : if self . parsedMessage . is_multipart ( ) : for part in self . parsedMessage . walk ( ) : if part . get_content_maintype ( ) == "text" : self . parseTextPart ( part . get_payload ( decode = 1 ) ) else : self . parseTextPart ( self . parsedMessage . get_payload ( decode = 1 ) ) if self . request [ 'package' ] is None : logging . debug ( "User didn't select any packages" ) return self . request
Main mail parsing routine.
Main mail parsing routine .
"""Main mail parsing routine. Returns a RequestVal value class
        """ # We found a text part, parse it # Not a multipart message, just parse along what we've got
self