Skip to content

Commit db7727f

Browse files
authored
Merge branch 'main' into feat/application_properties_filters
2 parents 3ddc58c + a4d9e85 commit db7727f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rabbitmq_amqp_python_client/entities.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,7 @@ def _filter_application_properties(
327327
) -> None:
328328
app_prop = {}
329329
if application_properties is not None:
330-
for key, value in application_properties.items():
331-
app_prop[key] = value
330+
app_prop = application_properties.copy()
332331

333332
if len(app_prop) > 0:
334333
self._filter_set[symbol(AMQP_APPLICATION_PROPERTIES_FILTER)] = (

0 commit comments

Comments
 (0)