pep8 clean-up of generratarpt.py, except line length