fix for #237
authorBhuvan Arumugam <bhuvan@apple.com>
Mon, 27 Jan 2014 15:01:13 +0000 (20:31 +0530)
committerBhuvan Arumugam <bhuvan@apple.com>
Mon, 27 Jan 2014 15:01:13 +0000 (20:31 +0530)
commite27e19fd1fa8cf093387a2c098a478bbe4386501
tree27ae7a72e646390b0466cbef6217838059a55d01
parent8a6c0db9de6d0ec24ac97fd96928b10b20c7016f
fix for #237

When the first job for the job was deleted and there is only one job (latest?)
in the build, get_job() API fail with TypeError.

This commit fixes this issue.
  https://github.com/salimfadhley/jenkinsapi/issues/237
jenkinsapi/job.py