From dbba5c4044468f53a7aa7b8d852a8be2b20efd17 Mon Sep 17 00:00:00 2001 From: Stephen Mardson McQuay Date: Thu, 31 Mar 2011 21:19:20 -0600 Subject: [PATCH] bug fix --- bin/slave.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/slave.py b/bin/slave.py index 2ebb0db..3215570 100644 --- a/bin/slave.py +++ b/bin/slave.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys +import os import time from multiprocessing.managers import BaseManager @@ -63,7 +64,7 @@ if __name__ == '__main__': g = ggrid(input_file) g.q = np.array([exact(x) for x in g.verts]) - myname = "%s-%d" % os.uname()[1], os.getpid()) + myname = "%s-%d" % (os.uname()[1], os.getpid()) shutdown = False while not shutdown: