Lint: F821 undefined name 'myshorthostname'
This commit is contained in:
parent
85d3188eb9
commit
c3dfe2e381
|
@ -269,7 +269,7 @@ def readConfig(pvcnoded_config_file, myhostname):
|
||||||
|
|
||||||
# Handle an empty ipmi_hostname
|
# Handle an empty ipmi_hostname
|
||||||
if config['ipmi_hostname'] == '':
|
if config['ipmi_hostname'] == '':
|
||||||
config['ipmi_hostname'] = myshorthostname + '-lom.' + mydomainname
|
config['ipmi_hostname'] = myhostname + '-lom.' + mydomainname
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue