X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fengine.py;h=e36f5c66b603f274c0253cb4b8f1f8a4807a45ed;hp=67a92330e4cfa24a8a491e67f4c7e92b084ce5b4;hb=b19cadcf9ff2169f34f6db79b866bad91f9c8aed;hpb=32bab47c7fde8ae22795306723f3441ec544fa2b diff --git a/osm_nbi/engine.py b/osm_nbi/engine.py index 67a9233..e36f5c6 100644 --- a/osm_nbi/engine.py +++ b/osm_nbi/engine.py @@ -137,7 +137,7 @@ class Engine(object): raise EngineException("Invalid permission configuration: resources_to_operations file missing") with open(resources_to_operations_file, 'r') as f: - resources_to_operations = yaml.load(f) + resources_to_operations = yaml.load(f, Loader=yaml.Loader) self.operations = []