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:
parent
7ab55a64bd
commit
22ce74f82a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue