Remove unneeded encoding change.
Change-Id: Ia83f8aadcc5dca4adc54a1fa253e38f4aa0275b4
This commit is contained in:
parent
4d2ff114c6
commit
6a979feb6b
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user