minor: bugfix
This commit is contained in:
parent
d761bfceba
commit
22153648fa
@ -16,7 +16,7 @@ class QueueManager(BaseManager): pass
|
|||||||
QueueManager.register('get_inqueue' )
|
QueueManager.register('get_inqueue' )
|
||||||
QueueManager.register('get_outqueue')
|
QueueManager.register('get_outqueue')
|
||||||
|
|
||||||
def work(inq, outq, g):
|
def work(inq, outq, g, myname):
|
||||||
outq.put((myname, "ready"))
|
outq.put((myname, "ready"))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
@ -55,7 +55,5 @@ if __name__ == '__main__':
|
|||||||
g = ggrid(input_file)
|
g = ggrid(input_file)
|
||||||
g.q = np.array([exact(x) for x in g.verts])
|
g.q = np.array([exact(x) for x in g.verts])
|
||||||
|
|
||||||
work(inq, outq, g)
|
|
||||||
|
|
||||||
myname = options.label
|
myname = options.label
|
||||||
print "%s finished" % myname
|
work(inq, outq, g, myname)
|
||||||
|
Loading…
Reference in New Issue
Block a user