Extra parenthesis around assert message

This commit is contained in:
Thomas Nagy 2016-04-01 23:14:26 +02:00
parent 41dcf329b0
commit ee0778a76f
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -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: