2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

Missing parentheses in syms.py

This commit is contained in:
Thomas Nagy 2017-01-06 23:00:45 +01:00
parent 113fc8192e
commit 3938bb89aa
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA

View File

@ -33,7 +33,7 @@ class gen_sym(Task):
re_nm=re.compile(r'T\s+(_?'+self.generator.export_symbols_regex+r')\b')
else:
re_nm = re.compile(r'T\s+(' + self.generator.export_symbols_regex + r')\b')
cmd = self.env.NM or ['nm'] + ['-g', obj.abspath()]
cmd = (self.env.NM or ['nm']) + ['-g', obj.abspath()]
syms = re_nm.findall(self.generator.bld.cmd_and_log(cmd, quiet=STDOUT, **kw))
self.outputs[0].write('%r' % syms)