Skip to content

Commit f410ab2

Browse files
Update rabbitmq_amqp_python_client/entities.py
Co-authored-by: Copilot <[email protected]>
1 parent 9fb4b41 commit f410ab2

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)