[server] code cleaning (pylint)