Skip to content

Commit

Permalink
do not remove symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
mfiers committed Jun 15, 2012
1 parent 5d98fdd commit 46327b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/moa/plugin/system/openLavaActor.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def openlavaRunner(wd, cl, conf={}, **kwargs):

l.debug("starting openlava actor for %s" % command)

outDir = os.path.realpath(os.path.abspath(os.path.join(wd, '.moa', 'log.latest')))
outDir = os.path.abspath(os.path.join(wd, '.moa', 'log.latest'))
if not os.path.exists(outDir):
try:
os.makedirs(outDir)
Expand Down Expand Up @@ -158,7 +158,7 @@ def s(*cl):
tmpfile = tempfile.NamedTemporaryFile(dir=tmpdir, prefix='openlava.',
delete=False, suffix='.sh')
tmpfile.write("\n".join(sc))
tmpfilename = os.path.realpath(os.path.abspath(tmpfile.name))
tmpfilename = os.path.abspath(tmpfile.name)
tmpfile.close()
os.chmod(tmpfile.name, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)

Expand Down

0 comments on commit 46327b9

Please sign in to comment.