提交 cbcdf1a9 编写于 作者: C Cleber Rosa 提交者: Eduardo Habkost

scripts/decodetree.py: fix reference to attributes

Signed-off-by: NCleber Rosa <crosa@redhat.com>
Message-Id: <20181004161852.11673-9-crosa@redhat.com>
Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
上级 aa983ff6
......@@ -298,7 +298,7 @@ class Field:
s = 's'
else:
s = ''
return str(pos) + ':' + s + str(len)
return str(self.pos) + ':' + s + str(self.len)
def str_extract(self):
if self.sign:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册