4
0
mirror of https://github.com/cwinfo/hyperboria-peers.git synced 2025-06-27 15:59:23 +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,6 +1,8 @@
"hub.icfreedom.net:64749": {
"password":")h.1-_[?bFW!0H:O{=a>H+9&17q]*j1~Bjzk{e.$",
"publicKey":"ny90t66vzmfywtcs3rs8fwwhzfk7frgvdfxutqxslk18jrj82hx0.k",
"contact":"mixxit@hyperboria.name",
"peerName":"icfreedom.net"
{
"hub.icfreedom.net:64749":{
"contact":"mixxit@hyperboria.name",
"password":")h.1-_[?bFW!0H:O{=a>H+9&17q]*j1~Bjzk{e.$",
"peerName":"icfreedom.net",
"publicKey":"ny90t66vzmfywtcs3rs8fwwhzfk7frgvdfxutqxslk18jrj82hx0.k"
}
}

View File

@ -1,6 +1,8 @@
"51.254.25.16:1132": {
"password":"thah9aePha1Vusha6ovhpublic",
"publicKey":"kw0vfw3tmb6u6p21z5jmmymdlumwknlg3x8muk5mcw66tdpqlw30.k",
"contact":"me@magik6k.net",
"peerName":"Magik6k-sbg1"
{
"51.254.25.16:1132":{
"contact":"me@magik6k.net",
"password":"thah9aePha1Vusha6ovhpublic",
"peerName":"Magik6k-sbg1",
"publicKey":"kw0vfw3tmb6u6p21z5jmmymdlumwknlg3x8muk5mcw66tdpqlw30.k"
}
}