Merge "Remove unneeded encoding change."

This commit is contained in:
Zuul 2017-10-31 01:06:20 +00:00 committed by Gerrit Code Review
commit fa8d21205b

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)