mirror of https://gitlab.com/ita1024/waf.git
Extra parenthesis around assert message
This commit is contained in:
parent
41dcf329b0
commit
ee0778a76f
|
@ -561,7 +561,7 @@ def validate_c(self, kw):
|
|||
kw['msg'] = 'Checking for header %s' % kw['header_name']
|
||||
|
||||
l = Utils.to_list(kw['header_name'])
|
||||
assert(len(l), 'list of headers in header_name is empty')
|
||||
assert len(l), 'list of headers in header_name is empty'
|
||||
|
||||
kw['code'] = to_header(kw) + SNIP_EMPTY_PROGRAM
|
||||
if not 'uselib_store' in kw:
|
||||
|
|
Loading…
Reference in New Issue