very very strange python, One day I'll pay you back!
This commit is contained in:
parent
2763891156
commit
200708e3b4
1 changed files with 4 additions and 1 deletions
|
|
@ -80,7 +80,10 @@ class HostGroup(object):
|
||||||
return self.processors
|
return self.processors
|
||||||
|
|
||||||
def get_services(self):
|
def get_services(self):
|
||||||
return self.__services
|
s = self.__services
|
||||||
|
if not isinstance(s, list):
|
||||||
|
s = self.__dict__["_HostGroup__services"]
|
||||||
|
return s
|
||||||
|
|
||||||
def get_hosts(self):
|
def get_hosts(self):
|
||||||
return self.hosts
|
return self.hosts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue