Drop redundant dict call
Change-Id: I3b80d403f9515da8cb611833c1ed5e8f145470e0
This commit is contained in:
parent
77eda34120
commit
00742402aa
|
@ -100,7 +100,7 @@ def report(manager, fileobj, sev_level, conf_level, lines=-1):
|
|||
:param lines: Number of lines to report, -1 for all
|
||||
'''
|
||||
|
||||
machine_output = dict({'results': [], 'errors': []})
|
||||
machine_output = {'results': [], 'errors': []}
|
||||
for (fname, reason) in manager.skipped:
|
||||
machine_output['errors'].append({'filename': fname,
|
||||
'reason': reason})
|
||||
|
|
Loading…
Reference in New Issue