[zanata/zanata-python-client] ea6e86: fix - Bug 1207303 - Return code is 0 even if push ...

GitHub noreply at github.com
Sun Jul 5 06:18:54 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/zanata/zanata-python-client
  Commit: ea6e8667617bf978c05285b64768b7deaec30a18
      https://github.com/zanata/zanata-python-client/commit/ea6e8667617bf978c05285b64768b7deaec30a18
  Author: anish <anish at openlearning.com>
  Date:   2015-07-05 (Sun, 05 Jul 2015)

  Changed paths:
    M zanataclient/zanatalib/service.py

  Log Message:
  -----------
  fix - Bug 1207303 - Return code is 0 even if push fails
People use z-p-c in command line scripts and they check return status code if command fails
So added exception handler method, that will print error message and exit with return code 1 in case of failure




More information about the zanata-commits mailing list