very very strange python, One day I'll pay you back!
This commit is contained in:
parent
e047262de9
commit
2763891156
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ def main():
|
|||
|
||||
log.i("check from hostgroup: id(" + str(id(hostgroup)) + ") " + str(hostgroup))
|
||||
log.i("check from sr.get_hostgroup(): id(" + str(id(sr.get_hostgroup)) + ") " + str(sr.get_hostgroup()))
|
||||
sr = hostgroup.__dict__["_services"]
|
||||
sr = hostgroup.__dict__["_HostGroup__services"]
|
||||
|
||||
if not isinstance(sr, list):
|
||||
sr = sr.get_hostgroup().get_services()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue