From: Cleber Rosa Date: Thu, 4 Oct 2018 16:18:50 +0000 (-0400) Subject: scripts/decodetree.py: fix reference to attributes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cbcdf1a951aa605c43dc80a98a8cc366299e378c;p=qemu.git scripts/decodetree.py: fix reference to attributes Signed-off-by: Cleber Rosa Message-Id: <20181004161852.11673-9-crosa@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Eduardo Habkost --- diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 457cffea90..37c76b5507 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -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: