Revision 9c6d629f snf-pithos-app/pithos/api/resources.py
b/snf-pithos-app/pithos/api/resources.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from synnefo.util.keypath import get_path |
|
35 | 34 |
from pithos.api.settings import pithos_services |
36 | 35 |
|
37 |
resources = get_path(pithos_services, 'pithos_object-store.resources').values() |
|
36 |
resources = pithos_services['pithos_object-store']['resources'].values() |
Also available in: Unified diff