# HG changeset patch # User Martin Bornhold # Date 2016-06-16 06:29:40 # Node ID 2b64428b194f84ab47def4aad5b3b9837ef26730 # Parent 9d966d6122a81350d9c4ea362b9ab2bffd56c840 oss-licenses: Use only 'rhodecode' as pkg_resource manager string. This way it will match the pyramid static asset 'rhodecode:config/licenses.json' diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -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