Skip to content

Commit 8f1fd08

Browse files
author
Joshua McMillan
committed
update file reading to yaml.safe_load
1 parent 7f927dc commit 8f1fd08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/smack/top.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ def thread_verify_bpl(args, args_to_add):
10781078

10791079
def verify_bpl_portfolio(args):
10801080

1081-
portfolio_config = yaml.load(open(args.portfolio_config, 'r'))
1081+
portfolio_config = yaml.safe_load(open(args.portfolio_config, 'r'))
10821082
p = multiprocessing.Pool()
10831083
results = {} # map of process -> thread name
10841084

0 commit comments

Comments
 (0)