From 3dad3267ce92c15b916a4ef3d05151ad21fd714f Mon Sep 17 00:00:00 2001 From: Stephen Cheng Date: Fri, 7 Jun 2024 02:11:57 +0100 Subject: [PATCH] CA-388527: Fix keyword argument order error In the previous PR, in the `__init__`of `ProgressDialogue`, I put the keywork arguments after the positional arguments. But I forgot to do the same in `CommitCreate` when we construct a `ProgressDialogue` Signed-off-by: Stephen Cheng --- plugins-base/XSFeatureSRCreate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins-base/XSFeatureSRCreate.py b/plugins-base/XSFeatureSRCreate.py index 59387a5..35f1c48 100644 --- a/plugins-base/XSFeatureSRCreate.py +++ b/plugins-base/XSFeatureSRCreate.py @@ -1203,8 +1203,8 @@ def create_sr_complete_callback(async_task, inOtherConfig): Layout.Inst().PushDialogue(InfoDialogue(Lang("Storage Repository Creation Successful"))) Layout.Inst().PushDialogue(ProgressDialogue(async_task, messagePrefix, - create_sr_complete_callback, - inOtherConfig)) + inOtherConfig, + OnComplete=create_sr_complete_callback)) except Exception as e: Layout.Inst().PushDialogue(InfoDialogue(Lang("Storage Repository Creation Failed"), Lang(e)))