saltstack/salt — pull request #13809 by nmadhok (2014-06-27 22:40:41+00:00)
Title: Fixed the behaviour of docker.push module

This pull request fixes the working of the push module.

Earlier the return didn't end with `}` and instead ended with `}\r\n` so stripping extra whitespace from either ends fixes part of the problem.

Also introduced try except checks to handle errors better.

Fixes: https://github.com/saltstack/salt/issues/13615