summaryrefslogtreecommitdiff
path: root/waflib/TaskGen.py
diff options
context:
space:
mode:
authorKarl Linden <karl.j.linden@gmail.com>2015-09-26 13:27:35 +0200
committerKarl Linden <karl.j.linden@gmail.com>2015-09-26 13:27:35 +0200
commit8b8be738805ae1c5fe3688a49fd696a9f080b59e (patch)
tree956cef75f28fb0d271585f9f99054f60917b5aac /waflib/TaskGen.py
parenta3ad1ff94bf83868b07d70d596fce76f8f57f334 (diff)
downloadjack2-8b8be738805ae1c5fe3688a49fd696a9f080b59e.tar.gz
Update waf to 1.8.14
Diffstat (limited to 'waflib/TaskGen.py')
-rw-r--r--waflib/TaskGen.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/waflib/TaskGen.py b/waflib/TaskGen.py
index b1110080..44aa25d5 100644
--- a/waflib/TaskGen.py
+++ b/waflib/TaskGen.py
@@ -593,6 +593,12 @@ def process_rule(self):
if getattr(self, 'cache_rule', 'True'):
cache[(name, self.rule)] = cls
+ if getattr(self, 'cls_str', None):
+ setattr(cls, '__str__', self.cls_str)
+
+ if getattr(self, 'cls_keyword', None):
+ setattr(cls, 'keyword', self.cls_keyword)
+
# now create one instance
tsk = self.create_task(name)