소스 검색

More intelligible debug information.

master
Pete Shadbolt 7 년 전
부모
커밋
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)


불러오는 중...
취소
저장