From 6577401b71248490374f2d9b8da19c4dad54ae57 Mon Sep 17 00:00:00 2001 From: khanh96le Date: Tue, 31 May 2022 13:36:15 +0700 Subject: [PATCH] Fix flake8 --- kombu/utils/amq_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kombu/utils/amq_manager.py b/kombu/utils/amq_manager.py index ff30aa6a..5c28d811 100644 --- a/kombu/utils/amq_manager.py +++ b/kombu/utils/amq_manager.py @@ -23,7 +23,8 @@ def get_manager( def get(name: str, val: Any, default: Any) -> Any: return ( val if val is not None - else opt('manager_%s' % name) or getattr(client, name, None) or default + else opt( + 'manager_%s' % name) or getattr(client, name, None) or default ) host = get('hostname', hostname, 'localhost')