Make Dell S6100 and Z9100 psuutil.py plugins compliant with Python 3.6 (#1523)
This commit is contained in:
parent
dda00292f3
commit
94c90cd5e5
@ -24,7 +24,7 @@ class PsuUtil(PsuBase):
|
||||
retval = 'ERR'
|
||||
mb_reg_file = mailbox_dir+'/' + reg_name
|
||||
if (not os.path.isfile(mb_reg_file)):
|
||||
print mb_reg_file, 'not found !'
|
||||
logging.error(mb_reg_file, "not found !")
|
||||
return retval
|
||||
|
||||
try:
|
||||
|
@ -24,7 +24,7 @@ class PsuUtil(PsuBase):
|
||||
retval = 'ERR'
|
||||
mb_reg_file = mailbox_dir+'/' + reg_name
|
||||
if (not os.path.isfile(mb_reg_file)):
|
||||
print mb_reg_file, 'not found !'
|
||||
logging.error(mb_reg_file, "not found !")
|
||||
return retval
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user