pep8-ified pagegenerators.py

Change-Id: I1e847c616eaab599672ffe2dda2861e7a6fcb867
Merge "pep8-ified pagegenerators.py"