Cleanup of pandaserver/userinterface/Client.py