Author: justi9
Date: 2010-01-29 09:43:06 -0500 (Fri, 29 Jan 2010)
New Revision: 3831
Modified:
mgmt/trunk/cumin/python/cumin/grid/model.py
mgmt/trunk/cumin/python/cumin/grid/submission.py
Log:
Fix string handling for submissions
Modified: mgmt/trunk/cumin/python/cumin/grid/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/grid/model.py 2010-01-28 21:25:27 UTC (rev 3830)
+++ mgmt/trunk/cumin/python/cumin/grid/model.py 2010-01-29 14:43:06 UTC (rev 3831)
@@ -80,7 +80,8 @@
scheduler.Submit(completion, ad, None)
def condor_string(string):
- return "\"%s\"" % string
+ return string
+ # XXX return "\"%s\"" % string
class NegotiatorStartTask(QmfTask):
def __init__(self, app, cls):
Modified: mgmt/trunk/cumin/python/cumin/grid/submission.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/grid/submission.py 2010-01-28 21:25:27 UTC (rev 3830)
+++ mgmt/trunk/cumin/python/cumin/grid/submission.py 2010-01-29 14:43:06 UTC (rev 3831)
@@ -189,7 +189,7 @@
tokens = shlex.split(command)
executable = tokens[0]
- args = tokens[1:]
+ args = " ".join(tokens[1:])
if not requirements:
requirements = "TRUE"