blocks.py converted to PEP8 format
Merge pull request #1230 from mohammadpz/blocks_pep8

blocks.py converted to PEP8 format