about summary refs log tree commit diff stats
path: root/miasm2/core/cpu.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-02-18 13:55:41 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-02-18 15:49:36 +0100
commitd7b6cd2f8a992b56bec4a8aa60f1cdf99a560583 (patch)
tree3c2395a195d141e1b9135fc65211ff88e3e3f994 /miasm2/core/cpu.py
parent3721f1f0cc739e06b2bcda892fdf4a7cab83dddb (diff)
downloadmiasm-d7b6cd2f8a992b56bec4a8aa60f1cdf99a560583.tar.gz
miasm-d7b6cd2f8a992b56bec4a8aa60f1cdf99a560583.zip
Core: General PyLinting
Diffstat (limited to 'miasm2/core/cpu.py')
-rw-r--r--miasm2/core/cpu.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py
index cb1b56cc..f8fdb4ff 100644
--- a/miasm2/core/cpu.py
+++ b/miasm2/core/cpu.py
@@ -1132,7 +1132,9 @@ class cls_mn(object):
                     total_l += l
                     f.l = l
                     f.is_present = True
-                    log.debug("FIELD", f.__class__, f.fname, offset_b, l)
+                    log.debug("FIELD %s %s %s %s" % (f.__class__,
+                                                     f.fname,
+                                                     offset_b, l))
                     if bs_l * 8 - offset_b < l:
                         getok = False
                         break