Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion measure
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from measure import Measure, ST_FAILED

import os
import sys
import time
import wavefront_api_client
import yaml
Expand Down Expand Up @@ -271,7 +272,7 @@ class WaveFront(Measure):

try:
f = open(CFG_FILE)
d = yaml.load(f)
d = yaml.safe_load(f)
except IOError as e:
raise Exception(
"cannot read configuration from {}:{}".format(CFG_FILE, e.strerror))
Expand Down