diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-02-16 16:25:46 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-02-16 16:25:46 +0100 |
| commit | f6ba0b1b608a060ef5040d9937f6c7014383da6c (patch) | |
| tree | 204ec17623a0110a80e14266d380516771221a43 /miasm2/core/cpu.py | |
| parent | 0ab6ee197347a7b1d568a4fa6abdf3034d4d8a22 (diff) | |
| download | miasm-f6ba0b1b608a060ef5040d9937f6c7014383da6c.tar.gz miasm-f6ba0b1b608a060ef5040d9937f6c7014383da6c.zip | |
PyLint: remove 'unnecessary-lambda'
Diffstat (limited to 'miasm2/core/cpu.py')
| -rw-r--r-- | miasm2/core/cpu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py index f4c627f4..85a6db75 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -1514,7 +1514,7 @@ class cls_mn(object): o = [] for c, v in candidates: o += v - o.sort(key=lambda x: len(x)) + o.sort(key=len) return o def value(self, mode): |