diff --git a/modules/hostgroups.py b/modules/hostgroups.py index d5306a3..38c44c0 100644 --- a/modules/hostgroups.py +++ b/modules/hostgroups.py @@ -106,7 +106,7 @@ class Hostgroup: "region": {"flag": nested_region_flag, "data": nb_regions}, } - def generate(self, hg_format=None): + def generate(self, hg_format): """Generate hostgroup based on a provided format""" # Split all given names hg_output = []