Fix pep8 violations in SwitchManager