Skip to content

Commit

Permalink
Update user_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler authored Jul 12, 2016
1 parent b5fefb4 commit e0ae7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juser/user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def server_del_user(username):
bash('userdel -r -f %s' % 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))
bash('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))


def get_display_msg(user, password='', ssh_key_pwd='', send_mail_need=False):
Expand Down

0 comments on commit e0ae7ee

Please sign in to comment.