From 589c76d3205a759165ea28038a8124ded4a2702b Mon Sep 17 00:00:00 2001 From: "Cyril Dutrieux (cydu)" Date: Wed, 22 Jan 2025 16:55:54 +0100 Subject: [PATCH] Remove useless tuple cast --- auth_saml/models/auth_saml_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_saml/models/auth_saml_provider.py b/auth_saml/models/auth_saml_provider.py index cbba99a293..641291757e 100644 --- a/auth_saml/models/auth_saml_provider.py +++ b/auth_saml/models/auth_saml_provider.py @@ -430,7 +430,7 @@ def action_refresh_metadata_from_url(self): provider_ids = tuple(providers_to_update.keys()) self.env.cr.execute( "SELECT id FROM auth_saml_provider WHERE id in %s FOR UPDATE", - (tuple(provider_ids),), + (provider_ids,), ) updated = False for provider in providers: