diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-12-16 16:29:13 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-12-16 16:29:13 +0100 |
| commit | 797b00e9449368448518ffa5497935569049c3ba (patch) | |
| tree | 9b6540b736f6163197fe8dd4ff066a27a638aff4 /miasm2/core/bin_stream.py | |
| parent | 8ebdbffdc6c86e9b832869046dfc6e11a8fb21be (diff) | |
| download | miasm-797b00e9449368448518ffa5497935569049c3ba.tar.gz miasm-797b00e9449368448518ffa5497935569049c3ba.zip | |
Autopep8
Diffstat (limited to 'miasm2/core/bin_stream.py')
| -rw-r--r-- | miasm2/core/bin_stream.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miasm2/core/bin_stream.py b/miasm2/core/bin_stream.py index e02523d8..f7b160f9 100644 --- a/miasm2/core/bin_stream.py +++ b/miasm2/core/bin_stream.py @@ -108,7 +108,7 @@ class bin_stream_file(bin_stream): return self.bin.tell() - self.shift def setoffset(self, val): - self.bin.seek(val + self.shift) + self.bin.seek(val + self.shift) offset = property(getoffset, setoffset) def readbs(self, l=1): @@ -123,7 +123,6 @@ class bin_stream_file(bin_stream): return self.l - (self.offset + self.shift) - class bin_stream_container(bin_stream): def __init__(self, virt_view, offset=0L): |