minor: bugfix

This commit is contained in:
Stephen McQuay 2011-03-30 21:37:12 -06:00
parent d761bfceba
commit 22153648fa

View File

@ -16,7 +16,7 @@ class QueueManager(BaseManager): pass
QueueManager.register('get_inqueue' )
QueueManager.register('get_outqueue')
def work(inq, outq, g):
def work(inq, outq, g, myname):
outq.put((myname, "ready"))
while True:
@ -55,7 +55,5 @@ if __name__ == '__main__':
g = ggrid(input_file)
g.q = np.array([exact(x) for x in g.verts])
work(inq, outq, g)
myname = options.label
print "%s finished" % myname
work(inq, outq, g, myname)