Fixed if condition in insertLine.
Fixed code style according to pylint.
Merge branch 'master' of https://github.com/sibuser/pythonPlugins