git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf51e5
)
remove debugging output
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 27 Jan 2010 23:52:45 +0000
(23:52 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 27 Jan 2010 23:52:45 +0000
(23:52 +0000)
sfa/util/nodemanager.py
patch
|
blob
|
history
diff --git
a/sfa/util/nodemanager.py
b/sfa/util/nodemanager.py
index
7333e3c
..
99575c6
100644
(file)
--- 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)