Commit 77799720 authored by ibuler's avatar ibuler

patch again with 1f09a40c

print => debug
parent 1f09a40c
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment