Bug fix sed plugin, remove debug from tasks.py.

This commit is contained in:
James Bromberger 2013-11-09 13:33:38 +00:00
parent 8582edbf7a
commit 8a215afac2
2 changed files with 1 additions and 6 deletions

View file

@ -2,8 +2,7 @@
def tasks(tasklist, manifest):
import tasks
tasklist.add(tasks.DoSeds())
tasklist.add(tasks.DoSeds)
def validate_manifest(data, schema_validate):
from os import path

View file

@ -12,8 +12,4 @@ class DoSeds(Task):
def run(self, info):
chroot_path = os.path.join(info.root, info.manifest.plugins['sed']['file'])
print chroot_path
print info.manifest.plugins['sed']['file']
print info.manifest.plugins['sed']['find']
print info.manifest.plugins['sed']['replace']
sed_i(chroot_path, info.manifest.plugins['sed']['find'], info.manifest.plugins['sed']['replace'])