From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7CBE745538; Mon, 1 Jul 2024 19:58:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6ED4D4014F; Mon, 1 Jul 2024 19:58:53 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id B47DC400EF for ; Mon, 1 Jul 2024 19:58:52 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-706b53ee183so2941113b3a.1 for ; Mon, 01 Jul 2024 10:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1719856732; x=1720461532; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Czxr+EahclktE4D5ndfVos8HfaE4Wz24r6YXCfLIAvs=; b=UmsDMvfazN9IdOncAWxSzNdQVGeK1hkExqompKJxgQi7cPAHKlButakEQqWNIHMpRr B6X9eiMOL4z59DdN811KQDAejY5IhbKq+AB9HmAfmKPxr+hgAPnjwOaEVjSRP8vfm2+V ujqLWFdzc/Pt1ubvOFGklT2KtsIPFbw4gfcCnTdKz3/8CG0gAckae4po/4zbfx+O4gS+ QbkAOFGBSykSzqdRHKdUHxU5kP9Bcz1Q36EhJzo9mddaokRbcqxKeirFEr99KqrsM/T0 nVOzDBn+LYwKSsNS09FQ4r1c/myt88N7jU9+NPTSTeD60agOdkk1qh3oQxJznCKyHMJL 3J2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719856732; x=1720461532; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Czxr+EahclktE4D5ndfVos8HfaE4Wz24r6YXCfLIAvs=; b=YGwuXaRoYMDK+N1dORijZmKP0KLBipha8hVfSfiWMHLOdvZy8bo/x549zNUVRjLHLI iYTd8Q8vaPGUOt3L+uOZBU7RFo0cJm3m+T706lerk8m901xl3yCgrR2uFwO04SxoPePh Z4qR4qn93C/O2CTeVWAU9xoxSrgl2HyWPT+f64Ef12dvEZ87DfD/uZjuAulUhoAdlukn pOuY/HYTsrZihLYi3/8YOHegt95hBrUBHDeMX8fYwfAi2JO9KDQ5Qx5i/s7JwNB6VM+T scmRYs+Hxbtql4cxipw75+HQ6/EGkD62uSB41CLSm+YRjKqNOO2HTADkjulA2r7hejVq tErw== X-Gm-Message-State: AOJu0Yy4fSJ71IkdXUEohUdIdKrqYotJixIrRJ4XGFDP0N1e9WN48HEt 7ZDNa2/CUPNk4RE6enQQ1zySZ3FrFtnYooBr+vKtXG6/N/9AA6J9uVz0HCHsCxTJDDCbQ6RAmuT TZII= X-Google-Smtp-Source: AGHT+IG3DdYavbXXFE84xhLFd+IQy/EQO/al83cgzTb9JnAL9AyZrxEXlgxJ/5YqHjkHg5M4SrFO1A== X-Received: by 2002:a05:6a20:7f95:b0:1bd:1fbc:6b77 with SMTP id adf61e73a8af0-1bef624359fmr10819929637.22.1719856731743; Mon, 01 Jul 2024 10:58:51 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-708044adb98sm7023726b3a.172.2024.07.01.10.58.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 10:58:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Dmitry Kozlyuk , Robin Jarry Subject: [PATCH] dpdk-pmdinfo: remove unneeded whitespace Date: Mon, 1 Jul 2024 10:58:35 -0700 Message-ID: <20240701175840.18368-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Fix the warning $ flake8 --max-line-length=100 dpdk-pmdinfo.py dpdk-pmdinfo.py:217:40: E203 whitespace before ':' Signed-off-by: Stephen Hemminger --- usertools/dpdk-pmdinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usertools/dpdk-pmdinfo.py b/usertools/dpdk-pmdinfo.py index 2c728de7b8..9189a2fdbc 100755 --- a/usertools/dpdk-pmdinfo.py +++ b/usertools/dpdk-pmdinfo.py @@ -214,7 +214,7 @@ def find_strings(buf: bytes, prefix: str) -> Iterator[str]: # end of string s = view[start:i].tobytes().decode("ascii") if s.startswith(prefix): - yield s[len(prefix) :] + yield s[len(prefix):] # There can be byte sequences where a non-printable byte # follows a printable one. Ignore that. start = None -- 2.43.0