Skip to content

Commit

Permalink
removed some old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Jun 17, 2012
1 parent e58f0d3 commit 9c3418d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/python/moa/plugin/system/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,6 @@ def show(job, args):
for j, ll in enumerate(textwrap.wrap(str(rendered[key]), wrapInit)):
moa.ui.fprint(spacerR + ll + closeR)

def _unsetCallback(wd, vars):
"""
Does the actual unset of variables `vars` in folder `wd`:
"""
job = moa.job.Job(wd)
#print "unsetting", " ".join(data.unset), "in", wd
for u in vars:
try:
del job.conf[u]
except KeyError:
pass
job.conf.save()


@moa.args.argument('parameter', nargs='+', help='parameter to unset')
@moa.args.needsJob
@moa.args.command
Expand Down

0 comments on commit 9c3418d

Please sign in to comment.