From patchwork Thu Jul 26 07:11:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 949512 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bjv85PGrz9ryt for ; Thu, 26 Jul 2018 17:11:32 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UWvUCON8"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41bjv83jBYzF0hg for ; Thu, 26 Jul 2018 17:11:32 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UWvUCON8"; dkim-atps=neutral X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::532; helo=mail-ed1-x532.google.com; envelope-from=petr.vorel@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UWvUCON8"; dkim-atps=neutral Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41bjv23vByzF0PZ for ; Thu, 26 Jul 2018 17:11:26 +1000 (AEST) Received: by mail-ed1-x532.google.com with SMTP id k15-v6so689096edr.3 for ; Thu, 26 Jul 2018 00:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Diq+TC727khyshVQ6lODJ4mALtrBLGRoPu967ZuXw+0=; b=UWvUCON8zcuq1ssmtStnZX8hTJLwLHIgP0BnJfdTTCdSW6inxzSqw3ETHLS2j5Y+Km bz/QMrwI9B1Leci8FRmN9vR3qnCH+sKNj8+CCnd3EEDdHT4rfn9I5jdRHI5ykbqwtyV0 Fz1KUldIrJF9YaaX7KlaAL/Wf+Wz8CMkjO57HYmu/kF7I1nygdO+9h+TmsRV+1xcDB77 aP0ztGCkRvfp/CeID3mqRS5UpbCJT9CScopdNA/TAmk3dV3FcEfX19HjwZ3PvlnbI/7K auqgh+gHRXZ0j3d20Xw4Uk1SSgePZ6sWAcYU0s9ieEVy23cg0NriKXFQ/wxsLIfd9/Eo lFcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Diq+TC727khyshVQ6lODJ4mALtrBLGRoPu967ZuXw+0=; b=UkbSZ3l555otx0kGY+aIVFd218YR8ZuaktdRVyCG7c9vHdE6gV/IM+eLbzYV24z0tJ njqk427dDZVvd64ZHAJXVwTNJ12JsKi5oBJRpPLmAhtaR17w9lm2fuSl2qsjFL5Gw5a6 h+phBt25Yt4a1gQIUMUY1kkaChqKmIlVAzXHh4OHgqQaaVu+JruJn0XBjOsobWvra0BB v7sk4x3DwlSyiqCl2wkZiV86xqcgBzVeLG4TMnSVWxr8ZBpo/uUQ11ig5u+tgtvHtXms bL4CeaJ10rMJOl7gYqhUs8tY69fXMX3H0Qxj73b+htXtuaooNZJIvo1ezWOatnpFklwQ 9PGA== X-Gm-Message-State: AOUpUlEdVmA6shuQG31TFVgTEakntbirl+qF8qhlejDAdLDgpKMRHibv SJBNw0NgwSNEvzA3ZJ/V2hT26lI0 X-Google-Smtp-Source: AAOMgpescek+2yZGroYHWwy6Gg8yQgcrmIeC++3HikTkXnY9XWOVDkK8qGj1arHT+xkGahjG66RR7A== X-Received: by 2002:a50:8327:: with SMTP id 36-v6mr1313352edh.305.1532589082734; Thu, 26 Jul 2018 00:11:22 -0700 (PDT) Received: from localhost.localdomain ([85.119.94.113]) by smtp.gmail.com with ESMTPSA id j23-v6sm447782edh.29.2018.07.26.00.11.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 00:11:21 -0700 (PDT) From: Petr Vorel To: patchwork@lists.ozlabs.org Subject: [PATCH 1/1] pwclient: Fix pwclient am output formatting Date: Thu, 26 Jul 2018 09:11:14 +0200 Message-Id: <20180726071114.12838-1-petr.vorel@gmail.com> X-Mailer: git-send-email 2.18.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" repr() print unicode prefix for string: $ pwclient git-am N Applying patch #N using u'git am' Remove it: $ pwclient git-am N Applying patch #918868 using "git am" git mixes single and double quotes, use double quotes which are more frequently used. Signed-off-by: Petr Vorel --- patchwork/bin/pwclient | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patchwork/bin/pwclient b/patchwork/bin/pwclient index 79137b0..2020a8c 100755 --- a/patchwork/bin/pwclient +++ b/patchwork/bin/pwclient @@ -327,8 +327,8 @@ def action_apply(rpc, patch_id, apply_cmd=None): print('Applying patch #%d to current directory' % patch_id) apply_cmd = ['patch', '-p1'] else: - print('Applying patch #%d using %s' % - (patch_id, repr(' '.join(apply_cmd)))) + print('Applying patch #%d using "%s"' % + (patch_id, ' '.join(apply_cmd))) print('Description: %s' % patch['name']) s = rpc.patch_get_mbox(patch_id)