Fixed pep8 issues in compute keypairs code

Change-Id: I3bbea50ce41be445b14b6d23a8d2396ebbddf2f6
Merge "Fixed pep8 issues in compute keypairs code"