diff --git a/CHANGELOG.md b/CHANGELOG.md index 136fbf9ca279e5717a1c196a694a4d66d468352c..40503f03057b1d8baccb697b7a60f25517ff5f20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ v2.1.2 ====== * extra_properties passed to Cluster might now be a dict +* basically all arguments can be passed as dicts v2.1.1 ====== diff --git a/coolamqp/clustering/cluster.py b/coolamqp/clustering/cluster.py index 6c076612f6cbe7f1fe701d00c497771c1692e5ca..f110e4f3157cec69ea1007a29a35df9e805c50b6 100644 --- a/coolamqp/clustering/cluster.py +++ b/coolamqp/clustering/cluster.py @@ -79,7 +79,7 @@ class Cluster(object): if isinstance(extra_properties, dict): extra_props = [] - for key, value in extra_props.items(): + for key, value in extra_properties.items(): extra_props.append((tobytes(key), argumentify(value))) extra_properties = extra_props