DeepStats: Initialize all class arguments in __init__ (good practice; makes pylint happy).

This commit is contained in:
Vladimir Rusinov 2016-12-02 14:47:23 +00:00 committed by Brian Warner
parent a95f2743ef
commit 80fe154634

View File

@ -24,6 +24,7 @@ class DeepStats(object):
def __init__(self, origin):
"""Initializes DeepStats object. Sets most of the fields to 0."""
self.monitor = None
self.origin = origin
self.stats = {
'api-version': self.API_VERSION