Explorar el Código

More intelligible debug information.

master
Pete Shadbolt hace 7 años
padre
commit
0681aee924
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      bin/abpserver

+ 5
- 1
bin/abpserver Ver fichero

@@ -24,7 +24,11 @@ local_state = abp.GraphState()
def process_edit(edit, client, server):
action = edit["action"]

pprint(edit)
print action.upper()
for key, value in edit.items():
if key!="action":
print " {}: {}".format(key, value)
print

if action == "create":
local_state.add_qubit(edit["name"], position=edit["position"], vop=0)


Cargando…
Cancelar
Guardar