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:
parent
44bf8d79b3
commit
951f1bb3f4
@ -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
|
||||
|
@ -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
|
||||
|
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user