From 777997202b80b5bbdf026ab64402f0ab3ec645c8 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 5 Apr 2016 22:37:55 +0800 Subject: [PATCH] patch again with 1f09a40c772e8d65908735e048608ec1ba8b95d0 print => debug --- juser/user_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juser/user_api.py b/juser/user_api.py index d077659b4..03ed65938 100644 --- a/juser/user_api.py +++ b/juser/user_api.py @@ -181,7 +181,7 @@ def server_del_user(username): 删除系统上的某用户 """ bash('userdel -r -f %s' % username) - print('rm -f %s/%s_*.pem' % (os.path.join(KEY_DIR, 'user'), username)) + logger.debug('rm -f %s/%s_*.pem' % (os.path.join(KEY_DIR, 'user'), username)) bash('rm -f %s/%s_*.pem' % (os.path.join(KEY_DIR, 'user'), username))