mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
Unify base class using new-style (object).
This commit is contained in:
4
utils.py
4
utils.py
@@ -24,7 +24,7 @@ from subprocess import call, Popen
|
||||
killed_processes = []
|
||||
|
||||
|
||||
class Enum:
|
||||
class Enum(object):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@@ -177,7 +177,7 @@ def threaded_cmd_line_run(run_cmd, id=-1):
|
||||
return result
|
||||
|
||||
|
||||
class Signal:
|
||||
class Signal(object):
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
self.sample_count = 0
|
||||
|
||||
Reference in New Issue
Block a user