Fix for Bug #1167521, ceilometer client crashes with missing content type response
pep8 compliance

Change-Id: I7669c103fe3336aa82b289e04560192b44a186da