projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93cb8c
)
Hack hack hack hack
author
Stefano Rivera
<stefano@rivera.za.net>
Sat, 17 May 2014 18:09:09 +0000
(20:09 +0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Sat, 17 May 2014 18:09:09 +0000
(20:09 +0200)
naja/actions.py
patch
|
blob
|
history
diff --git
a/naja/actions.py
b/naja/actions.py
index 2407d829b59155b4077d7f56e5d4e171c9bfb646..5aa465a4c3122889e801871211432323a0cbaf71 100644
(file)
--- 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),