about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/arch.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-02-16 16:25:46 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-02-16 16:25:46 +0100
commitf6ba0b1b608a060ef5040d9937f6c7014383da6c (patch)
tree204ec17623a0110a80e14266d380516771221a43 /miasm2/arch/x86/arch.py
parent0ab6ee197347a7b1d568a4fa6abdf3034d4d8a22 (diff)
downloadmiasm-f6ba0b1b608a060ef5040d9937f6c7014383da6c.tar.gz
miasm-f6ba0b1b608a060ef5040d9937f6c7014383da6c.zip
PyLint: remove 'unnecessary-lambda'
Diffstat (limited to 'miasm2/arch/x86/arch.py')
-rw-r--r--miasm2/arch/x86/arch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index 8f9a1f79..b1d671d1 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -954,8 +954,8 @@ class mn_x86(cls_mn):
         for c, v in candidates:
             if v_opmode(c) != instr.mode:
                 cand_diff_mode += v
-        cand_same_mode.sort(key=lambda x: len(x))
-        cand_diff_mode.sort(key=lambda x: len(x))
+        cand_same_mode.sort(key=len)
+        cand_diff_mode.sort(key=len)
         return cand_same_mode + cand_diff_mode