From 6aebc746374dff5565a286469c0c4f0048f5d627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Tue, 21 Apr 2020 17:58:31 +0200 Subject: [PATCH] v1.0.4 --- CHANGELOG.md | 2 +- coolamqp/framing/compilation/content_property.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9afcd3e..b98392e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # v1.0.4: -* _TBA_ +* add missing locals, which rendered CoolAMQP to be unable to process some messages # v1.0.3: diff --git a/coolamqp/framing/compilation/content_property.py b/coolamqp/framing/compilation/content_property.py index 3d76107..a6f33df 100644 --- a/coolamqp/framing/compilation/content_property.py +++ b/coolamqp/framing/compilation/content_property.py @@ -1,6 +1,8 @@ # coding=UTF-8 from __future__ import absolute_import, division, print_function +from coolamqp.framing.field_table import deframe_table + """Generate serializers/unserializers/length getters for given property_flags""" import six import struct @@ -152,7 +154,8 @@ def compile_particular_content_property_list_class(zpf, fields): q, structers = _compile_particular_content_property_list_class(zpf, fields) locals_ = { - 'AMQPContentPropertyList': AMQPContentPropertyList + 'AMQPContentPropertyList': AMQPContentPropertyList, + 'deframe_table': deframe_table, } for structer in structers: if structer not in STRUCTERS_FOR_NOW: -- GitLab