Drop redundant dict call

Change-Id: I3b80d403f9515da8cb611833c1ed5e8f145470e0
This commit is contained in:
Stanisław Pitucha 2016-12-21 14:59:11 +11:00
parent 77eda34120
commit 00742402aa
1 changed files with 1 additions and 1 deletions

View File

@ -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})