Simplify error message (remove comments)
This commit is contained in:
parent
038c35980b
commit
46139e21d8
@ -39,14 +39,6 @@ def magicli(exclude=['main'], help_message=True, glbls=None, argv=None):
|
|||||||
function_to_call(*args, **kwargs)
|
function_to_call(*args, **kwargs)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
# except TypeError as e:
|
|
||||||
# print_error(e)
|
|
||||||
# raise
|
|
||||||
|
|
||||||
|
|
||||||
# def print_error(e):
|
|
||||||
# print('\x1b[91mError:\x1b[0m ', end='')
|
|
||||||
# print(e)
|
|
||||||
|
|
||||||
|
|
||||||
def format_args(argv):
|
def format_args(argv):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user