diff options
| author | Pierre LALET <pierre.lalet@cea.fr> | 2011-08-31 11:14:00 +0200 |
|---|---|---|
| committer | Pierre LALET <pierre.lalet@cea.fr> | 2011-08-31 11:14:00 +0200 |
| commit | ef1359657366a83b07d294902d0c23d409735312 (patch) | |
| tree | 4f9d44a7a0f8d1304513e162fac931f4ae46125d | |
| parent | 6d3b198a544e0930c50f81dc96ad4b6d4783bb34 (diff) | |
| download | miasm-ef1359657366a83b07d294902d0c23d409735312.tar.gz miasm-ef1359657366a83b07d294902d0c23d409735312.zip | |
Readability fix.
| -rw-r--r-- | miasm/core/asmbloc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/asmbloc.py b/miasm/core/asmbloc.py index abc8b629..462b03d7 100644 --- a/miasm/core/asmbloc.py +++ b/miasm/core/asmbloc.py @@ -779,7 +779,7 @@ def asmbloc(mnemo, all_blocs): if isinstance(instr, asm_raw): candidates = [instr.raw] c = instr.raw - elif [True for a in instr.arg if mnemo.has_symb(a)]: + elif any([mnemo.has_symb(a) for a in instr.arg]): testing_arg = [mnemo.fix_symbol(a) for a in instr.arg] sav_a = instr.arg instr.arg = testing_arg |