Skip to content

Commit

Permalink
minor fixes to the new newJob function
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Jun 3, 2012
1 parent f89deff commit c9e51c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/python/moa/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def newJob(job, template, title, parameters=[], provider=None):
:param parameters: A list of parameters to set for this job
:type parameters: list of (key, value) tuples
:rtype: instance of :class:`moa.job.Job`
"""

job.setTemplate(template, provider=provider)
Expand All @@ -56,7 +55,6 @@ def newJob(job, template, title, parameters=[], provider=None):
for pk, pv in parameters:
job.conf[pk] = pv
moa.ui.message('setting "%s" to "%s"' % (pk, pv))
print job.conf.pretty()
job.conf.save()
return job

Expand Down

0 comments on commit c9e51c6

Please sign in to comment.