mirror of https://gitee.com/openkylin/qemu.git
scripts/decodetree.py: fix reference to attributes
Signed-off-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20181004161852.11673-9-crosa@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
aa983ff67c
commit
cbcdf1a951
|
@ -298,7 +298,7 @@ def __str__(self):
|
||||||
s = 's'
|
s = 's'
|
||||||
else:
|
else:
|
||||||
s = ''
|
s = ''
|
||||||
return str(pos) + ':' + s + str(len)
|
return str(self.pos) + ':' + s + str(self.len)
|
||||||
|
|
||||||
def str_extract(self):
|
def str_extract(self):
|
||||||
if self.sign:
|
if self.sign:
|
||||||
|
|
Loading…
Reference in New Issue