Made rdd.py pep8 complaint by using Autopep8 and a little manual editing.

is this supposed to be like this?