Skip to content
Snippets Groups Projects
Commit 543c9a62 authored by Jan Mach's avatar Jan Mach
Browse files

Checked the mentat.stats.idea module with pylint.

(Redmine issue: #3379,#3443)
parent b31f8e8b
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,8 @@ __author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>"
import collections
from mentat.stats import escape_dict, unescape_dict
from pynspect.jpath import jpath_values, jpath_set
from pynspect.jpath import jpath_values
KEY_UNKNOWN = '__unknown__'
......@@ -258,7 +256,7 @@ def evaluate_messages(messages, stats = None):
return stats
# Prepare structure for storing IDEA message identifiers.
if not ST_LIST_IDS in stats:
if ST_LIST_IDS not in stats:
stats[ST_LIST_IDS] = []
for msg in messages:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment