Turn two ifs into one in the code I commited a few days ago
Turn two ifs into one in the code I commited a few days ago

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