From a7d22e703d23b7c480b94d8a04168f49f960c5b9 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Sun, 8 Oct 2017 04:22:19 +0200 Subject: [PATCH] yeah --- coolamqp/framing/compilation/content_property.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coolamqp/framing/compilation/content_property.py b/coolamqp/framing/compilation/content_property.py index 29c5ae4..776291d 100644 --- a/coolamqp/framing/compilation/content_property.py +++ b/coolamqp/framing/compilation/content_property.py @@ -121,11 +121,11 @@ def _compile_particular_content_property_list_class(zpf, fields): return u''.join(mod) - def compile_particular_content_property_list_class(zpf, fields): - q = _compile_particular_content_property_list_class(zpf, fields) import struct from coolamqp.framing.base import AMQPContentPropertyList + q = _compile_particular_content_property_list_class(zpf, fields) + loc = {'struct': struct, 'AMQPContentPropertyList': AMQPContentPropertyList} exec (q, globals(), loc) return loc['ParticularContentTypeList'] -- GitLab