bug 915 fix kdu termination on a failed deployemnt
[osm/LCM.git] / osm_lcm / ROclient.py
index 18425ac..6198527 100644 (file)
@@ -189,7 +189,7 @@ class ROClient:
     
     def _parse_yaml(self, descriptor, response=False):
         try:
-            return yaml.load(descriptor)
+            return yaml.load(descriptor, Loader=yaml.Loader)
         except yaml.YAMLError as exc:
             error_pos = ""
             if hasattr(exc, 'problem_mark'):