mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
DeepStats: Initialize all class arguments in __init__ (good practice; makes pylint happy).
This commit is contained in:
parent
a95f2743ef
commit
80fe154634
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user