def delete_user(self, id): """Delete a user""" user = db.user_get(context.get_admin_context(), id) db.user_delete(context.get_admin_context(), user['id'])