'Return a list of note information.
Example:
[(\'info\', \'Some informative data\'),
(\'warning\', \'Use caution\'),
(\'error\', \'The command ran, but had errors\')]'

def get_notes(self):

    notes = []
    notes_xml = self.findall(('{%s}note' % self.namespace))
    for note in notes_xml:
        notes.append((note.attrib.get('type', 'info'), note.text))
    return notes
