2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 19:57:47 +00:00

Return potentially modified filename

Since the autosuffix function can change the filename,
return the modified name so that the caller knows the
changed name.

Change-Id: I751d32d70f0d2c1813b1af081ee61b07a8faab90
This commit is contained in:
Jarrod Johnson 2019-10-29 16:09:56 -04:00
parent 44bf8d79b3
commit 951f1bb3f4
3 changed files with 3 additions and 0 deletions

View File

@ -978,6 +978,7 @@ class XCCClient(IMMClient):
self._refresh_token()
if progress:
progress({'phase': 'complete'})
return savefile
def disk_inventory(self, mode=0):
# mode 0 is firmware, 1 is hardware

View File

@ -370,6 +370,7 @@ class SMMClient(object):
'progress': 100 * self.wc.get_download_progress()})
if progress:
progress({'phase': 'complete'})
return savefile
def process_fru(self, fru):
# TODO(jjohnson2): can also get EIOM, SMM, and riser data if warranted

View File

@ -709,6 +709,7 @@ class OEMHandler(generic.OEMHandler):
self._refresh_token()
if progress:
progress({'phase': 'complete'})
return savefile
def get_licenses(self):
licdata = self.wc.grab_json_response('/api/providers/imm_fod')