oss-licenses: Use only 'rhodecode' as pkg_resource manager string.

This way it will match the pyramid static asset 'rhodecode:config/licenses.json'
This commit is contained in:
Martin Bornhold 2016-06-16 08:29:40 +02:00
parent 7ab55a64bd
commit 22ce74f82a

View file

@ -976,7 +976,7 @@ def read_opensource_licenses():
if not _license_cache:
licenses = pkg_resources.resource_string(
'rhodecode.config', 'licenses.json')
'rhodecode', 'config/licenses.json')
_license_cache = json.loads(licenses)
return _license_cache