parent
ccdea1c3b8
commit
930d5d88b7
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class CobblerInventory(object):
|
|||
if this_dns_name is not None and this_dns_name is not "":
|
||||
dns_name = this_dns_name
|
||||
|
||||
if dns_name == '':
|
||||
if dns_name == '' or dns_name is None:
|
||||
continue
|
||||
|
||||
status = host['status']
|
||||
|
|
Loading…
Reference in a new issue