remove unused functions

pull/6/head
deadc0de6 7 years ago
parent f44238490c
commit c19a474ac7

@ -76,19 +76,7 @@ class Logger:
s = '{}{}{}'.format(Logger.RED, string, Logger.RESET)
sys.stderr.write(s+'\n')
def clog(string, color, stdout=True):
''' generic printer wrapper for colored text '''
s = '{}{}{}'.format(color, string, Logger.RESET)
if stdout:
sys.stdout.write(s+'\n')
else:
sys.stderr.write(s+'\n')
def progr(string):
''' print progress '''
sys.stderr.write('{}\r'.format(string))
sys.stderr.flush()
def get(string, color):
''' get color formatted text '''
return '{}{}{}'.format(color, string, Logger.RESET)

Loading…
Cancel
Save