Make Dell S6100 and Z9100 psuutil.py plugins compliant with Python 3.6 (#1523)

This commit is contained in:
Joe LeVeque 2018-03-22 18:24:32 -07:00 committed by GitHub
parent dda00292f3
commit 94c90cd5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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: