From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g86Lb-0005or-BI for qemu-devel@nongnu.org; Thu, 04 Oct 2018 12:19:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g86LT-0002cl-Lc for qemu-devel@nongnu.org; Thu, 04 Oct 2018 12:19:29 -0400 From: Cleber Rosa Date: Thu, 4 Oct 2018 12:18:50 -0400 Message-Id: <20181004161852.11673-9-crosa@redhat.com> In-Reply-To: <20181004161852.11673-1-crosa@redhat.com> References: <20181004161852.11673-1-crosa@redhat.com> Subject: [Qemu-devel] [PATCH 08/10] scripts/decodetree.py: fix reference to attributes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio , Eduardo Habkost , qemu-block@nongnu.org, Kevin Wolf , Michael Tokarev , Laurent Vivier , Cleber Rosa , qemu-trivial@nongnu.org, Max Reitz Signed-off-by: Cleber Rosa --- scripts/decodetree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.17.1