From: Stefano Rivera Date: Sat, 17 May 2014 18:09:09 +0000 (+0200) Subject: Hack hack hack hack X-Git-Tag: 0.1~51 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=ed4a0f563fc0f8dbbda9c4ad2ef6dbde9d525abd;p=naja.git Hack hack hack hack --- diff --git a/naja/actions.py b/naja/actions.py index 2407d82..5aa465a 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -130,6 +130,8 @@ class GenericBits(LocationAction): bits.clear_bits(self.clear_bits) def get_text(self, location=None): + if 'message' in self.data: + return super(GenericBits, self).get_text() parts = [] for template, bits in [ ('Set %s.', self.set_bits), ('Clear %s.', self.clear_bits),