Make all classes subclass from object

This commit is contained in:
Bruno Oliveira
2018-06-03 16:10:24 -03:00
parent 98ae25c12c
commit fd2e8a6711
6 changed files with 8 additions and 7 deletions

View File

@@ -157,7 +157,7 @@ def init_worker_session(channel, args, option_dict):
WorkerFailSession(config, channel).main()
class WorkerFailSession:
class WorkerFailSession(object):
def __init__(self, config, channel):
self.config = config
self.channel = channel
@@ -211,7 +211,7 @@ class WorkerFailSession:
self.channel.send((trails, failreports, self.collection_failed))
class StatRecorder:
class StatRecorder(object):
def __init__(self, rootdirlist):
self.rootdirlist = rootdirlist
self.statcache = {}