mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 11:50:21 +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):
|
def __init__(self, origin):
|
||||||
"""Initializes DeepStats object. Sets most of the fields to 0."""
|
"""Initializes DeepStats object. Sets most of the fields to 0."""
|
||||||
|
self.monitor = None
|
||||||
self.origin = origin
|
self.origin = origin
|
||||||
self.stats = {
|
self.stats = {
|
||||||
'api-version': self.API_VERSION
|
'api-version': self.API_VERSION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user