sarumont/py-trello — pull request #5 by hugorodgerbrown (2012-05-22 10:04:19+00:00)
Title: Fix for missing board / card descriptions (currently throws KeyError in tests)

The 'desc' attribute is optional with the Trello API for board and card
object, and may be missing from the returned JSON. Python raises a
KeyError when attempting to access a missing dictionary key
(http://wiki.python.org/moin/KeyError), but provides an alternative get
method that does not. Currently an empty string ('') is used as the
default description in the event of a missing 'desc' value.