1
2
3
4
5
6
7
8
9
10
11
12
13
14 | csmith@uptown:~$ cat 2.yaml; python -c 'import yaml; print(yaml.load(open("2.yaml")))'
repos: [
{
id: testing-suse,
name: test-suse,
baseurl: 'http://blah'
},
{
id: testing-suse2,
name: test-suse2,
baseurl: 'http://blah2'
}]
{'repos': [{'id': 'testing-suse', 'name': 'test-suse', 'baseurl': 'http://blah'}, {'id': 'testing-suse2', 'name': 'test-suse2', 'baseurl': 'http://blah2'}]}
csmith@uptown:~$
|