objectbrowser/forms.py: Minor cleanup

Ran code inspection on file and did minor cleanup.