diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 8adc6722..9238ec9c 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -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 diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py index bc7d46b5..2660e9e0 100644 --- a/pyghmi/ipmi/oem/lenovo/nextscale.py +++ b/pyghmi/ipmi/oem/lenovo/nextscale.py @@ -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 diff --git a/pyghmi/redfish/oem/lenovo/xcc.py b/pyghmi/redfish/oem/lenovo/xcc.py index efe5aa16..59bbb950 100644 --- a/pyghmi/redfish/oem/lenovo/xcc.py +++ b/pyghmi/redfish/oem/lenovo/xcc.py @@ -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')