From df2455a39ed6b611027f85e638d7a93e009609bb Mon Sep 17 00:00:00 2001 From: "Manuel Amador (Rudd-O)" Date: Wed, 1 Sep 2010 14:45:53 -0700 Subject: [PATCH] no necessity to depend on the dict hash to do the tar up --- tools/waf/tar.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tools/waf/tar.py b/tools/waf/tar.py index c0293337b90..45c4c05746f 100644 --- a/tools/waf/tar.py +++ b/tools/waf/tar.py @@ -53,16 +53,9 @@ def apply_tar(self): node = self.path.find_resource(x) if not node:raise Utils.WafError('cannot find input file %s for processing'%x) ins.append(node) - if self.dict and not self.env['DICT_HASH']: - self.env=self.env.copy() - keys=list(self.dict.keys()) - keys.sort() - lst=[self.dict[x]for x in keys] - self.env['DICT_HASH']=str(Utils.h_list(lst)) tsk=self.create_task('tar',ins,out) tsk.fun=self.fun tsk.dict=self.dict - tsk.dep_vars=['DICT_HASH'] tsk.install_path=self.install_path tsk.chmod=self.chmod if not tsk.env: @@ -71,4 +64,4 @@ def apply_tar(self): Task.task_type_from_func('tar',func=tar_up) feature('tar')(apply_tar) -before('apply_core')(apply_tar) \ No newline at end of file +before('apply_core')(apply_tar)