4
0
mirror of https://github.com/cwinfo/hyperboria-peers.git synced 2025-06-27 21:49:24 +00:00

Wrap JSON dicts in {} like the rest of the world

Update tests.py, README.md to reflect this
tests.py also now checks exact formatting. Must be four spaces indented, etc. Also has --clean option to do it for you
This commit is contained in:
Finn
2016-03-13 10:46:55 -07:00
parent 8a63833742
commit 52240ec1e9
18 changed files with 163 additions and 134 deletions

View File

@ -1,16 +1,18 @@
"107.170.57.34:63472": {
"login": "public-peer",
"password":"ppm6j89mgvss7uvtntcd9scy6166mwb",
"publicKey":"1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k",
"peerName":"Jacob Henner",
"contact":"code@ventricle.us",
"location":"digitalocean nyc2"
},
"[2604:a880:0:1010::f:4001]:63472": {
"login": "public-peer",
"password":"ppm6j89mgvss7uvtntcd9scy6166mwb",
"publicKey":"1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k",
"peerName":"Jacob Henner",
"contact":"code@ventricle.us",
"location":"digitalocean nyc2"
{
"107.170.57.34:63472":{
"contact":"code@ventricle.us",
"location":"digitalocean nyc2",
"login":"public-peer",
"password":"ppm6j89mgvss7uvtntcd9scy6166mwb",
"peerName":"Jacob Henner",
"publicKey":"1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k"
},
"[2604:a880:0:1010::f:4001]:63472":{
"contact":"code@ventricle.us",
"location":"digitalocean nyc2",
"login":"public-peer",
"password":"ppm6j89mgvss7uvtntcd9scy6166mwb",
"peerName":"Jacob Henner",
"publicKey":"1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k"
}
}

View File

@ -1,7 +1,8 @@
"192.241.171.154:62718": {
"password":"public_access",
"publicKey":"q5nhj9kg6ddmk571jb259mct2ljd10z9xvyf05y3hu66wk4qnk20.k",
"user":"weuxel",
"contact": "hype@smash-net.org"
{
"192.241.171.154:62718":{
"contact":"hype@smash-net.org",
"password":"public_access",
"publicKey":"q5nhj9kg6ddmk571jb259mct2ljd10z9xvyf05y3hu66wk4qnk20.k",
"user":"weuxel"
}
}