Merge pull request #1 from atheiste/python3

Python3
Change depricated commit_on_success decorator to atomic
Merge remote-tracking branch 'sarva/master' into python3