From c71174e8679f7e1ce4951b87b4e5c8d89448c824 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Sun, 8 Oct 2017 10:22:28 +0200 Subject: [PATCH] go --- coolamqp/framing/compilation/xml_fields.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coolamqp/framing/compilation/xml_fields.py b/coolamqp/framing/compilation/xml_fields.py index 6b2853d..8b521ab 100644 --- a/coolamqp/framing/compilation/xml_fields.py +++ b/coolamqp/framing/compilation/xml_fields.py @@ -60,7 +60,9 @@ class _ValueField(_Field): else: return self.default + class _SimpleField(_ValueField): + """XML attribute is the same as name, has a type and can be default""" def __init__(self, name, field_type=nop, default=_Required): super(_SimpleField, self).__init__(name, name, field_type, default) -- GitLab