← Back to team overview

arsenal-devel team mailing list archive

lpltk changes: Attachments, Attachment, Message, Person

 

You will find the following changes in lp;~brad-figg/arsenal/lpltk.

Bryce, please merge these changes at your convenience.

 - Added Attachments class (attachments.py) which encapsulates the Launchpad
   bug_attachments object. The class allow the user to iterate through the
   attachments that have beed added to a bug. This is accessed from the
   bug.attachments property.

 - Added Attachment class (attachment.py) which encapsulates the Launchpad
   attachment object. This class allows the user to access the various properties
   of an attachment. Attachment instances are obtained from iterating through
   an instance of Attachments. This class currently supports the following
   properties:
       title
       kind
       message
       data

 - Added Message class (message.py) which encapsulates the Launchpad message
   object. This class currenty supports the following properties:
       owner
       content
       date_created
       parent
       subject

 - Added Person class (person.py) which encapsulats the Launchpad person object.
   This class currently supports the following properties:
       full_name
       first_name

 - Modified the Bug class to provide "owner" and "attachments" properties.

 - Modified LaunchpadService class to look for the LPLTK_DEBUG environment variable
   instead of the LPTOOLKIT_DEBUG environment variable, keeping with the rename of
   the package.

--
Brad Figg brad.figg@xxxxxxxxxxxxx http://www.canonical.com



Follow ups