mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
Remove (object) from class declarations. (#6658)
This commit is contained in:
committed by
Philipp Moritz
parent
f1b56fa5ee
commit
39a3459886
@@ -22,7 +22,7 @@ import ray.utils
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class LogFileInfo(object):
|
||||
class LogFileInfo:
|
||||
def __init__(self,
|
||||
filename=None,
|
||||
size_when_last_opened=None,
|
||||
@@ -37,7 +37,7 @@ class LogFileInfo(object):
|
||||
self.worker_pid = None
|
||||
|
||||
|
||||
class LogMonitor(object):
|
||||
class LogMonitor:
|
||||
"""A monitor process for monitoring Ray log files.
|
||||
|
||||
This class mantains a list of open files and a list of closed log files. We
|
||||
|
||||
Reference in New Issue
Block a user