patch again with 1f09a40c77

print => debug
pull/194/head
ibuler 2016-04-05 22:37:55 +08:00
parent 1f09a40c77
commit 777997202b
1 changed files with 1 additions and 1 deletions

View File

@ -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))