diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-09-10 17:38:33 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-09-12 08:52:15 +0200 |
commit | 3d44315d8ded05163170a1efefcc27407bedf724 (patch) | |
tree | 222832dc6c0e3099b7cb17259caae05299e861b8 /gbp | |
parent | 94ff329e58f7d0b645a49cbab90119b7856c8ab1 (diff) |
notifications: flake8 clean
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/notifications.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/notifications.py b/gbp/notifications.py index 8ed60a8f..51cbe416 100644 --- a/gbp/notifications.py +++ b/gbp/notifications.py @@ -19,6 +19,7 @@ import warnings notify_module = None + def enable_notifications(): global notify_module @@ -37,7 +38,7 @@ def enable_notifications(): def build_msg(cp, success): summary = "Gbp %s" % ["failed", "successful"][success] msg = ("Build of %s %s %s" % - (cp['Source'], cp['Version'], ["failed", "succeeded"][success])) + (cp['Source'], cp['Version'], ["failed", "succeeded"][success])) return summary, msg @@ -67,4 +68,3 @@ def notify(summary, message, notify_opt): return [True, False][notify_opt.is_on()] return notify_opt.do(send_notification, summary, message) - |