Minor fixes: pep8 and redundant code
Minor fixes: pep8 and redundant code

pep8: removed trailing whitespace
redundant code: removed duplicate line

Change-Id: Ib7e2c077234713662cb5d6d55ed1cf2508abf298

openstack/designate-dashboard,designate-dns/designate-dashboard-bak,openstack/designate-dashboard,designate-dns/designate-dashboard-bak,openstack/designate-dashboard