diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-02-18 14:47:01 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-02-18 20:42:54 +0100 |
| commit | a2e461cc51a25ccc98e0de43ca87374edce412b4 (patch) | |
| tree | c583f3d8d864b81abcfb56ceda173aa5c23c5718 /miasm2/arch/mips32/arch.py | |
| parent | d2cc082ba50397609e186d516b75226d638841d3 (diff) | |
| download | miasm-a2e461cc51a25ccc98e0de43ca87374edce412b4.tar.gz miasm-a2e461cc51a25ccc98e0de43ca87374edce412b4.zip | |
PyLint: Remove keyword redefinition, bad open mode
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/mips32/arch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/mips32/arch.py b/miasm2/arch/mips32/arch.py index 00dc09ed..cbcd5e79 100644 --- a/miasm2/arch/mips32/arch.py +++ b/miasm2/arch/mips32/arch.py @@ -497,7 +497,7 @@ class bs_cond_name(bs_divert): '.LT', '.NGE', '.LE', '.NGT'] ] - def divert(self, i, candidates): + def divert(self, index, candidates): out = [] for candidate in candidates: cls, name, bases, dct, fields = candidate @@ -511,7 +511,7 @@ class bs_cond_name(bs_divert): args = dict(self.args) args.update({'strbits': s}) f = bs(**args) - nfields[i] = f + nfields[index] = f ndct = dict(dct) ndct['name'] = name + new_name out.append((cls, new_name, bases, ndct, nfields)) |