Skip to content

Commit fe3cd8e

Browse files
author
Steven Noonan
committed
travis-run-local: silence warning about missing Loader argument for yaml
Signed-off-by: Steven Noonan <[email protected]>
1 parent 425814e commit fe3cd8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis-run-local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import yaml
99

1010
def read_travis_yml():
11-
return yaml.load(open('.travis.yml', 'r'))
11+
return yaml.load(open('.travis.yml', 'r'), Loader=yaml.SafeLoader)
1212

1313
def docker_arch(travis_arch):
1414
if travis_arch == 'arm64':

0 commit comments

Comments
 (0)