salimfadhley/jenkinsapi — pull request #14 by lruslan (2012-03-08 09:55:19+00:00)
Title: FIX: TypeError: 'NoneType' object is unsubscriptable in job._buildid_for_type

If job does not have any builds self._data[buildtype]["number"] raise "TypeError: 'NoneType' object is unsubscriptable"
Return "None" instead.