finally working code
Merge branch 'master' of github.com:sanidhya/pyretic