Skip to content

Commit 1a6aa7b

Browse files
author
Han Wang
committed
add message for debug
1 parent 07d81cf commit 1a6aa7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dpgen/dispatcher/LazyLocalContext.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,16 @@ def check_finish(self, proc):
121121
def get_return(self, proc):
122122
ret = proc.poll()
123123
if ret is None:
124+
print('---------------- proc is None ----------------')
124125
return None, None, None
125126
else :
126127
try:
127128
o, e = proc.communicate()
129+
print('---------------- communicate finishes ----------------')
128130
stdout = SPRetObj(o)
129131
stderr = SPRetObj(e)
130132
except ValueError:
133+
print('---------------- communicate failed ----------------')
131134
stdout = None
132135
stderr = None
133136
return ret, stdout, stderr

0 commit comments

Comments
 (0)