From ed58cc0d0069b55b0178f691d28329247a5dd401 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 29 Jan 2021 14:04:58 -0500 Subject: [PATCH] Preserve the entire svcdata filename on autoname Support may want all the data in the filename that they are accustomed to. Change-Id: I3c77e10c319c7199be9723c0a13719c96bfb6cca --- pyghmi/ipmi/oem/lenovo/imm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 3bed6636..1e29bc86 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -1056,7 +1056,7 @@ class XCCClient(IMMClient): {'Generate_FFDC_status': 1}) url = '/ffdc/{0}'.format(result['FileName']) if autosuffix and not savefile.endswith('.tzz'): - savefile += '.tzz' + savefile += '-{0}'.format(result['FileName']) fd = webclient.FileDownloader(self.wc, url, savefile) fd.start() while fd.isAlive():