1
0
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:
cxx
2017-10-26 10:16:11 +08:00
committed by Itai Caspi
parent 39cf78074c
commit f43c951c2d
16 changed files with 28 additions and 28 deletions

View File

@@ -27,7 +27,7 @@ global failed_imports
failed_imports = []
class Colors:
class Colors(object):
PURPLE = '\033[95m'
CYAN = '\033[96m'
DARKCYAN = '\033[36m'
@@ -51,7 +51,7 @@ class Colors:
# prints to screen with a prefix identifying the origin of the print
class ScreenLogger:
class ScreenLogger(object):
def __init__(self, name):
self.name = name
@@ -85,7 +85,7 @@ class ScreenLogger:
return input("{}{}{}".format(Colors.BG_CYAN, title, Colors.END))
class BaseLogger:
class BaseLogger(object):
def __init__(self):
pass