From: Tony Mack Date: Wed, 27 Jan 2010 23:52:45 +0000 (+0000) Subject: remove debugging output X-Git-Tag: sfa-0.9-11~187 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e0782258d18229dc9b08e6682bd7778c27a51716;p=sfa.git remove debugging output --- diff --git a/sfa/util/nodemanager.py b/sfa/util/nodemanager.py index 7333e3c9..99575c68 100644 --- a/sfa/util/nodemanager.py +++ b/sfa/util/nodemanager.py @@ -38,12 +38,10 @@ print s.%(method)s%(args)s""" % locals() f.close() # make the file executeable chmod_cmd = "/bin/chmod 775 %(filename)s" % locals() - print chmod_cmd (status, output) = commands.getstatusoutput(chmod_cmd) # execute the commad as a slice with root NM privs cmd = 'su - %(sfa_slice)s -c "%(python)s %(scriptname)s"' % locals() - print cmd (status, output) = commands.getstatusoutput(cmd) return (status, output) finally: os.unlink(filename)