提交 36f0890d 编写于 作者: W wuzewu

do not print debug log when using command line

上级 c930312e
......@@ -35,6 +35,8 @@ class HubCommand(BaseCommand):
self.show_in_help = False
def exec(self, argv):
logger.setLevel("NOLOG")
if not argv:
help.command.exec(argv)
exit(1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册