Skip to content

Commit

Permalink
minor: few more cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Nov 7, 2012
1 parent 7450669 commit 72a9ec1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions moa/plugin/system/openLavaActor.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,11 @@ def s(*cl):
delete=False, suffix='.sh')

tmpfile.write("\n".join(sc))
tmpfilename = os.path.abspath(tmpfile.name)
tmpfile.close()
os.chmod(tmpfile.name, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)

l.debug("executing bsub")
moa.ui.message("Submitting job to openlava")
#bsub_cl.append("<")
#bsub_cl.append(tmpfilename)
moa.ui.message("Executing")
moa.ui.message(" ".join(map(str, bsub_cl)))

Expand Down Expand Up @@ -238,6 +235,6 @@ def hook_postRun():
F.write("\n".join(
map(str, sysConf.job.data.openlava.get('alljids'))))

#ergister this actor globally
#register this actor globally
sysConf.actor.actors['openlava'] = openlavaRunner
sysConf.actor.openlava.jids = []

0 comments on commit 72a9ec1

Please sign in to comment.