remove termcolor

This commit is contained in:
debugtalk
2017-08-02 11:37:40 +08:00
parent fec78591c5
commit d413d49c58
3 changed files with 1 additions and 12 deletions

View File

@@ -1,16 +1,7 @@
#coding: utf-8
from termcolor import colored
class MyBaseError(BaseException):
def __init__(self, msg):
self.msg = msg
self.color_msg = colored(msg, 'red', attrs=['bold'])
def __repr__(self):
return self.msg
def __str__(self):
return self.color_msg
pass
class ParamsError(MyBaseError):
pass

View File

@@ -1,5 +1,4 @@
requests
termcolor
flask
PyYAML
coveralls

View File

@@ -23,7 +23,6 @@ setup(
keywords='api test',
install_requires=[
"requests",
"termcolor",
"flask",
"PyYAML",
"coveralls",