commit | f45901e5b452035e4ea5586dd916135b2da2933a | [log] [tgz] |
---|---|---|
author | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 16 13:02:50 2016 +0000 |
committer | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 16 13:02:50 2016 +0000 |
tree | 31650cf62c24a64686a0fa7c1592363c5b1337f7 | |
parent | d26770fffbb63e62d13c5ae1730331928d4870a0 [diff] [blame] |
Fix flake8 in heka_alarming.py
diff --git a/_modules/heka_alarming.py b/_modules/heka_alarming.py index 147335b..8f86efd 100644 --- a/_modules/heka_alarming.py +++ b/_modules/heka_alarming.py
@@ -27,7 +27,8 @@ def alarm_activate_alerting(alerting): - return 'true' if alerting in ['enabled', 'enabled_with_notification'] else 'false' + return ('true' if alerting in ['enabled', 'enabled_with_notification'] + else 'false') def alarm_enable_notification(alerting):