[checkmk-commits] [tribe29/checkmk] e5b315: pushover: yapf file

Tom Bärwinkel noreply at github.com
Thu Jun 27 15:20:41 CEST 2019


  Branch: refs/heads/1.5.0
  Home:   https://github.com/tribe29/checkmk
  Commit: e5b3156386540395eedf912d2f41dc8836a49519
      https://github.com/tribe29/checkmk/commit/e5b3156386540395eedf912d2f41dc8836a49519
  Author: Tom Baerwinkel <tom.baerwinkel at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M notifications/pushover

  Log Message:
  -----------
  pushover: yapf file

Change-Id: Icfb1c449e6526e709b7c5adb71c5a0c9f49a01b7


  Commit: 546a4ed45c7660d0ec3aa2389ef62b9d164443b2
      https://github.com/tribe29/checkmk/commit/546a4ed45c7660d0ec3aa2389ef62b9d164443b2
  Author: Tom Baerwinkel <tom.baerwinkel at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M notifications/pushover

  Log Message:
  -----------
  pushover: minor refactoring

* reorder imports
* use dict comprehension
* rename variables s and r
* inline r_status
* use if __name__ == '__main__'

Change-Id: I1b1f96a93483cfdf87887d63362dc1d33db32c1d


  Commit: 28b17ebfa9a497204563654b68596890c8e09808
      https://github.com/tribe29/checkmk/commit/28b17ebfa9a497204563654b68596890c8e09808
  Author: Tom Baerwinkel <tom.baerwinkel at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    A .werks/7429
    M notifications/pushover

  Log Message:
  -----------
  7429 FIX pushover: fix broken error handling

Since its introduction in version 1.2.8 the error handling of the
pushover notification script is broken. Notifications were always
handled as successful even if the Pushover API returned an error.
Version 1.5.0 introduced another bug that printed an error
message to the notify.log for successful notifications.

Change-Id: Ibadaed86fe7f5e8c0f5c63edd2afb07df47c8460


Compare: https://github.com/tribe29/checkmk/compare/c300aa8e2f68...28b17ebfa9a4


More information about the checkmk-commits mailing list