Fix indentation error in testGetServByName and rewrite loop to avoid clumsy sentinel variable
Fix indentation error in testGetServByName and rewrite loop to avoid clumsy
sentinel variable

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator