Skip to content

Commit fd78d67

Browse files
generate-e2e-test.py: change yaml.load() --> yaml.safe_load()
1 parent 9737aec commit fd78d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/generate-e2e-test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def generate(self):
3535
if os.path.isfile(yaml_file) is not True:
3636
return
3737
with open(yaml_file, 'r') as f:
38-
config = yaml.load(f.read())
38+
config = yaml.safe_load(f.read())
3939
print(config)
4040
builder.set_reference_url(config['test']['reference'])
4141

0 commit comments

Comments
 (0)