about summary refs log tree commit diff stats
path: root/miasm2/core/bin_stream.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-02-18 14:47:01 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-02-18 20:42:54 +0100
commita2e461cc51a25ccc98e0de43ca87374edce412b4 (patch)
treec583f3d8d864b81abcfb56ceda173aa5c23c5718 /miasm2/core/bin_stream.py
parentd2cc082ba50397609e186d516b75226d638841d3 (diff)
downloadmiasm-a2e461cc51a25ccc98e0de43ca87374edce412b4.tar.gz
miasm-a2e461cc51a25ccc98e0de43ca87374edce412b4.zip
PyLint: Remove keyword redefinition, bad open mode
Diffstat (limited to 'miasm2/core/bin_stream.py')
-rw-r--r--miasm2/core/bin_stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/core/bin_stream.py b/miasm2/core/bin_stream.py
index 19614661..6e158061 100644
--- a/miasm2/core/bin_stream.py
+++ b/miasm2/core/bin_stream.py
@@ -96,9 +96,9 @@ class bin_stream_str(bin_stream):
 
 class bin_stream_file(bin_stream):
 
-    def __init__(self, bin, offset=0L, shift=0):
+    def __init__(self, binary, offset=0L, shift=0):
         bin_stream.__init__(self)
-        self.bin = bin
+        self.bin = binary
         self.bin.seek(0, 2)
         self.shift = shift
         self.l = self.bin.tell()