Remove unneeded encoding change.

Change-Id: Ia83f8aadcc5dca4adc54a1fa253e38f4aa0275b4
This commit is contained in:
Tony Breeds 2017-10-27 10:19:40 +11:00
parent 4d2ff114c6
commit 6a979feb6b

View File

@ -203,8 +203,6 @@ def get_from_cgit(project, obj, params={}):
url = 'http://git.openstack.org/cgit/' + project + '/plain/' + obj
raw = requester(url, params=params,
headers={'Accept': 'application/json'})
raw.encoding = 'utf-8' # Workaround for cgit encoding
return yaml.safe_load(raw.text)