Fix issues with python generated code.
Merge pull request #6 from edmodo/fix-py-packages

Fix issues with python generated code.