From fb5892d880ee872bf09d9cc1c29095ee3e1941f8 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Sun, 8 Oct 2017 04:08:34 +0200 Subject: [PATCH] fix compiling --- coolamqp/framing/compilation/content_property.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coolamqp/framing/compilation/content_property.py b/coolamqp/framing/compilation/content_property.py index 93a8cfd..60085a9 100644 --- a/coolamqp/framing/compilation/content_property.py +++ b/coolamqp/framing/compilation/content_property.py @@ -41,7 +41,9 @@ def _compile_particular_content_property_list_class(zpf, fields): zpf_bits = [zpf_bit or field.type == 'bit' for zpf_bit, field in zip(zpf_bits, fields)] - mod = [u'''class ParticularContentTypeList(AMQPContentPropertyList): + mod = [u''' +from coolamqp.framing.base import AMQPContentPropertyList +class ParticularContentTypeList(AMQPContentPropertyList): """ For fields: '''] -- GitLab