From 8a215afac228d1d5f7435c66c6ab19003e5c418f Mon Sep 17 00:00:00 2001 From: James Bromberger Date: Sat, 9 Nov 2013 13:33:38 +0000 Subject: [PATCH] Bug fix sed plugin, remove debug from tasks.py. --- plugins/sed/__init__.py | 3 +-- plugins/sed/tasks.py | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/sed/__init__.py b/plugins/sed/__init__.py index e020769..c754084 100644 --- a/plugins/sed/__init__.py +++ b/plugins/sed/__init__.py @@ -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 diff --git a/plugins/sed/tasks.py b/plugins/sed/tasks.py index b197121..49f1d4b 100644 --- a/plugins/sed/tasks.py +++ b/plugins/sed/tasks.py @@ -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'])