Skip to content

Commit

Permalink
don't truncate message - possiblity to confuse Jinja with partial var…
Browse files Browse the repository at this point in the history
…iables
  • Loading branch information
mfiers committed Jun 25, 2012
1 parent 881758f commit db69ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/moa/plugin/system/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ def set(job, args):
val = moa.ui.askUser("%s:\n> " % a, old)
job.conf[a] = val
new_pars.append((a,val))
moa.ui.message('set "%s" to "%s"' % (a, " ".join(val.split())[:80]))
moa.ui.message('set "%s" to "%s"' % (a, " ".join(val.split())))
else:
key,val = a.split('=',1)
job.conf[key] = val
new_pars.append((key,val))
moa.ui.message('set "%s" to "%s"' % (key, " ".join(val.split())[:80]))
moa.ui.message('set "%s" to "%s"' % (a, " ".join(val.split())))

job.conf.save()

Expand Down

0 comments on commit db69ca7

Please sign in to comment.