Merge "take-1 for the NST selection function"
[optf/osdf.git] / osdf / config / __init__.py
index 303a8ce..e32d44e 100644 (file)
@@ -1,5 +1,5 @@
 # -------------------------------------------------------------------------
-#   Copyright (c) 2015-2017 AT&T Intellectual Property
+#   Copyright (c) 2015-2018 AT&T Intellectual Property
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -27,6 +27,6 @@ class CoreConfig(metaclass=MetaSingleton):
 
     def get_core_config(self, config_file=None):
         if self.core_config is None:
-            self.core_config = yaml.load(open(config_file))
+            self.core_config = yaml.safe_load(open(config_file))
         return self.core_config