fixing pep8
adding gitignore
Merge pull request #1 from piotr-mazurek/bug_2484

Bug 2484