GUI-857: Minor PEP 8 cleanup