From a175fd7345e818be073520972ff54568d021408a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 29 Oct 2019 16:06:51 -0400 Subject: [PATCH] Allow autosuffix to change passed filename The resultant file may deviate and thus the chown must have the updated name. --- confluent_server/confluent/firmwaremanager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_server/confluent/firmwaremanager.py b/confluent_server/confluent/firmwaremanager.py index a1168935..dd2ba061 100644 --- a/confluent_server/confluent/firmwaremanager.py +++ b/confluent_server/confluent/firmwaremanager.py @@ -50,6 +50,9 @@ def execupdate(handler, filename, updateobj, type, owner, node): bank=updateobj.bank) else: completion = handler(filename, progress=updateobj.handle_progress) + if type == 'ffdc' and completion: + filename = completion + completion = None if completion is None: completion = 'complete' if owner: