nagios-charmers team mailing list archive
-
nagios-charmers team
-
Mailing list archive
-
Message #01162
[Merge] ~afreiberger/charm-nagios:blacken-20.10 into charm-nagios:master
Drew Freiberger has proposed merging ~afreiberger/charm-nagios:blacken-20.10 into charm-nagios:master.
Requested reviews:
Nagios Charm developers (nagios-charmers)
For more details, see:
https://code.launchpad.net/~afreiberger/charm-nagios/+git/nagios-charm/+merge/392352
--
Your team Nagios Charm developers is requested to review the proposed merge of ~afreiberger/charm-nagios:blacken-20.10 into charm-nagios:master.
diff --git a/hooks/common.py b/hooks/common.py
index b320880..fa241a6 100644
--- a/hooks/common.py
+++ b/hooks/common.py
@@ -104,8 +104,8 @@ def get_ip_and_hostname(remote_unit, relation_id=None):
def refresh_hostgroups(): # noqa:C901
- """ Not the most efficient thing but since we're only
- parsing what is already on disk here its not too bad """
+ """Not the most efficient thing but since we're only
+ parsing what is already on disk here its not too bad"""
hosts = [x["host_name"] for x in Model.Host.objects.all if x["host_name"]]
hgroups = {}
Follow ups