Fix flake8 warnings in framework.py
Merge pull request #33 from sbesson/flake8

Fix flake8 warnings in framework.py