- python: add return codes for rollbacks and fooDB methods.