about summary refs log tree commit diff stats
path: root/miasm2/arch/msp430/arch.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2015-03-30 19:09:03 +0200
committerserpilliere <serpilliere@users.noreply.github.com>2015-03-30 19:09:03 +0200
commit65c65bd7548fd665ca2631db4b91eb136aa5962c (patch)
tree64a31b9f881907f34d2faad8d7fde82c435c0412 /miasm2/arch/msp430/arch.py
parentf72d0de75c6815db54f9d54824e8948d962eee5a (diff)
parent37eb0a3d29434383a469f252975e1e3e1bd0309f (diff)
downloadmiasm-65c65bd7548fd665ca2631db4b91eb136aa5962c.tar.gz
miasm-65c65bd7548fd665ca2631db4b91eb136aa5962c.zip
Merge pull request #133 from commial/lazy-logging
Remove lazy logging pattern
Diffstat (limited to 'miasm2/arch/msp430/arch.py')
-rw-r--r--miasm2/arch/msp430/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/msp430/arch.py b/miasm2/arch/msp430/arch.py
index 624ec19f..2f543843 100644
--- a/miasm2/arch/msp430/arch.py
+++ b/miasm2/arch/msp430/arch.py
@@ -185,7 +185,7 @@ class instruction_msp430(instruction):
             raise ValueError('symbol not resolved %s' % l)
         if not isinstance(e, ExprInt):
             # raise ValueError('dst must be int or label')
-            log.warning('dynamic dst %r' % e)
+            log.warning('dynamic dst %r', e)
             return
         # return ExprInt32(e.arg - (self.offset + self.l))
         self.args[0] = ExprInt_fromsize(16, e.arg - (self.offset + self.l))