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 "":
|
if this_dns_name is not None and this_dns_name is not "":
|
||||||
dns_name = this_dns_name
|
dns_name = this_dns_name
|
||||||
|
|
||||||
if dns_name == '':
|
if dns_name == '' or dns_name is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
status = host['status']
|
status = host['status']
|
||||||
|
|
Loading…
Reference in a new issue