From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 9F5FB562374; Thu, 3 Aug 2023 10:49:27 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9F5FB562374 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1691048967; bh=9K6O9B5ma532/kmE/G5jNvW0mY6PGwrcJkDFv85ka9Y=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Ew3TsVWCLMU8i5GPUdv9eFCTVgqBM8lT5iKV00XWW23i1fpyfS9puMYrZvcmuxUZG WPoNy5vwMs7FJ1AXz/abouN2eoAxo+K9qeXfLCKlbL1B9AUpc3LJLmBlXFEbME0eFm q5E6Z4/lzPmpy8H77jJyXFJH+k9Gvqb8KQBdUliU= Received: from smtp58.i.mail.ru (smtp58.i.mail.ru [95.163.41.96]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DFFA2562374 for ; Thu, 3 Aug 2023 10:44:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DFFA2562374 Received: by smtp58.i.mail.ru with esmtpa (envelope-from ) id 1qRT0A-000EDQ-38; Thu, 03 Aug 2023 10:44:07 +0300 To: Maxim Kokryashkin , Sergey Bronnikov Date: Thu, 3 Aug 2023 07:30:36 +0000 Message-Id: <774543aa7d7e0727485adf6ef453aabcb5d7572a.1691047132.git.imun@tarantool.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD93761F2630DFFAF416DDF8A3A1F98730F81C7E6AA5A500726182A05F538085040551F0FF8F4F37DA335F8C46F8B6DE490566B592BBFD0469A15CB7CF1E8E7C568 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7B9D6DADD6B53929DEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063786D6A7D810B9582D8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D858B525717F605ED915C5DBCC8024B753117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAE9A1BBD95851C5BA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F4460429728776938767073520CCD848CCB6FE560C618001F51B5FD3F9D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EEB28585415E75ADA9302FCEF25BFAB3454AD6D5ED66289B523666184CF4C3C14F6136E347CC761E07725E5C173C3A84C3F7ED4D6813B5CA0476E601842F6C81A1F004C906525384303E02D724532EE2C3F43C7A68FF6260569E8FC8737B5C22494854413538E1713FE827F84554CEF50127C277FBC8AE2E8B8C7ADC89C2F0B2A5AAAE862A0553A39223F8577A6DFFEA7CC1948A84299AD5C643847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: 0D63561A33F958A50F983B4EE4215E6F43F7D6B393291FE084F8764BE7376948F87CCE6106E1FC07E67D4AC08A07B9B0CF7CD7A0D5AA5F259C5DF10A05D560A950611B66E3DA6D700B0A020F03D25A09062BEEFFB5F8EA3ECB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF08EFD7D5F4B3F23F4C3C232E74BEF60E4E1DEBA4C6C6382607330EB7167E180B35D9E4C97941E9B18553022043D0BC9AF5BCA779AFBDC6632E51E2202620D407A74DFFEFA5DC0E7F02C26D483E81D6BEECAEF3E2CCC1ED8C383653B6C8D9AE0FD16FCAA6493B703A X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojcir52QaMQ826edD0Jiac1w== X-Mailru-Sender: 2FEBA92C8E508479FE7B9A1DF348D531C55F6AC43F6B0328D1826D09581E2D6F30EB8C24A18D0E542326FE6F2A341ACE0FB9F97486540B4CD9E8847AB8CFED4D9ABF8A61C016C2CFB0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 11/15] test: fix E502 errors by pycodestyle X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Fixed two occurrences of E502 ("the backslash is redundant between brackets") error reported by pycodestyle[1]. [1]: https://www.flake8rules.com/rules/E502.html Signed-off-by: Igor Munkin --- src/luajit-gdb.py | 2 +- src/luajit_lldb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/luajit-gdb.py b/src/luajit-gdb.py index 3babb1d5..8e786528 100644 --- a/src/luajit-gdb.py +++ b/src/luajit-gdb.py @@ -136,7 +136,7 @@ def bc_a(ins): def frame_ftsz(framelink): - return cast('ptrdiff_t', framelink['ftsz'] if LJ_FR2 \ + return cast('ptrdiff_t', framelink['ftsz'] if LJ_FR2 else framelink['fr']['tp']['ftsz']) diff --git a/src/luajit_lldb.py b/src/luajit_lldb.py index 325b40ec..1442e367 100644 --- a/src/luajit_lldb.py +++ b/src/luajit_lldb.py @@ -722,7 +722,7 @@ def bc_a(ins): def frame_ftsz(framelink): - return vtou64(cast('ptrdiff_t', framelink.ftsz if LJ_FR2 \ + return vtou64(cast('ptrdiff_t', framelink.ftsz if LJ_FR2 else framelink.fr.tp.ftsz)) -- 2.30.2