From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 03CDB1F953 for ; Thu, 6 Jan 2022 17:49:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242412AbiAFRtY (ORCPT ); Thu, 6 Jan 2022 12:49:24 -0500 Received: from mail-pj1-f41.google.com ([209.85.216.41]:41542 "EHLO mail-pj1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242286AbiAFRtW (ORCPT ); Thu, 6 Jan 2022 12:49:22 -0500 Received: by mail-pj1-f41.google.com with SMTP id b1-20020a17090a990100b001b14bd47532so3981251pjp.0 for ; Thu, 06 Jan 2022 09:49:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Lrb9yxl3/2s3heMUSJ8PDVegjr7O2BRdDEEptglY02A=; b=2H1zNERTnmEnrrQuLixJuyg06yQe5imOoydb7VTwM4Kyw4QivPJ+LUQjDE0fBFkd4S 7pxI8Q87JZPjpX/x72MnM7bdZSaeTIe3GhEU2hEAtlUmezi9b7tpqgwUB/pJWlnDQL7x Klj2fSmseGyzcBGb05NE1pMzCazYnMkdBSo+FKPsgp88/o/odDj0ag5v/MNNZ/nlEL2n cEg1KaeV7OfzwxjASt1xPgRLv61GPsaFiRA1GOajnTQBB4ecPhEYqQbUfBbx77EOzYqL PP12Wunqxj209++URy/BSBWJKj9z2LlussAVSmPsd2Gk8pBGuIuWu5hJnfHB8XXxAs56 xa9w== X-Gm-Message-State: AOAM533mGipLw/KytpDvbmR/n+b7BHROh54fUHAcxFt4Srsfx9+aLHOV haKbJNPqXBdLMDgcFgJxGcBVE2lZQWzUiuLW4Jc= X-Google-Smtp-Source: ABdhPJyEvtSMgOHdWKxfwRLC54RHP9VkTvPZdcTvQOl1xE5G9yLp5qa4zW8PXnyCT2THAE7nWWJGN1qjCl0qX4WFQWc= X-Received: by 2002:a17:902:b688:b0:149:a1d6:c731 with SMTP id c8-20020a170902b68800b00149a1d6c731mr33981467pls.145.1641491361526; Thu, 06 Jan 2022 09:49:21 -0800 (PST) MIME-Version: 1.0 References: <20220105141427.48861-1-jholdsworth@nvidia.com> In-Reply-To: <20220105141427.48861-1-jholdsworth@nvidia.com> From: Eric Sunshine Date: Thu, 6 Jan 2022 12:49:10 -0500 Message-ID: Subject: Re: [PATCH] git-p4: fixed instantiation of CalledProcessError To: Joel Holdsworth Cc: Git List , Luke Diamand , Junio C Hamano , Tzadik Vanderhoof , Dorgon Chang , Joachim Kuebart , Daniel Levin , Johannes Schindelin , Ben Keene , Andrew Oakley Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Thu, Jan 6, 2022 at 1:56 AM Joel Holdsworth wrote: > CalledProcessError is an exception class from the subprocess namespace. > When raising this exception, git-p4 would instantiate CalledProcessError > objects without properly referencing the subprocess namespace causing > the script to fail. > > This patch resolves the issue by replacing CalledProcessError with > subprocess.CalledProcessError. > --- MIssing sign-off.