From df33334be1da8e1605e2e28887a6f9bb4bd5cb6e Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Mon, 7 Jan 2013 23:17:22 -0800 Subject: [PATCH] modules/tinderbox_target.py: Use 'portdir' instead of hard-coding '/usr/portage' W. Trevor King: Refactored Git history for Brian Dolbec's content changes with additional whitespace cleanups. Reviewed-by: Matt Turner Signed-off-by: W. Trevor King Signed-off-by: Brian Dolbec --- modules/tinderbox_target.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/tinderbox_target.py b/modules/tinderbox_target.py index 46fe0829..ca556108 100644 --- a/modules/tinderbox_target.py +++ b/modules/tinderbox_target.py @@ -29,8 +29,12 @@ class tinderbox_target(generic_stage_target): raise CatalystError,"Tinderbox aborting due to error." def set_cleanables(self): - self.settings["cleanables"]=["/etc/resolv.conf","/var/tmp/*","/root/*",\ - "/usr/portage"] + self.settings['cleanables'] = [ + '/etc/resolv.conf', + '/var/tmp/*', + '/root/*', + self.settings['portdir'], + ] def set_action_sequence(self): #Default action sequence for run method -- 2.26.2