瀏覽代碼

More intelligible debug information.

master
Pete Shadbolt 8 年之前
父節點
當前提交
0681aee924
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. +5
    -1
      bin/abpserver

+ 5
- 1
bin/abpserver 查看文件

@@ -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)


Loading…
取消
儲存