From patchwork Wed Sep 20 11:12:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Voronin X-Patchwork-Id: 1837182 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=H2ZeQ/BO; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33c; helo=mail-wm1-x33c.google.com; envelope-from=swupdate+bncbaabbinhvouamgqesmxvtwi@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wm1-x33c.google.com (mail-wm1-x33c.google.com [IPv6:2a00:1450:4864:20::33c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RrG8l0QD5z1ynX for ; Wed, 20 Sep 2023 21:12:38 +1000 (AEST) Received: by mail-wm1-x33c.google.com with SMTP id 5b1f17b1804b1-40472855114sf48339085e9.0 for ; Wed, 20 Sep 2023 04:12:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695208354; cv=pass; d=google.com; s=arc-20160816; b=IXrYd9AmJ3k0fwSYAqqsApPp5odHv58NSVgqJF8PX8rQLmTPwYhsiw91FuNshqnWyr O57Dld5ilKqL7QR3j34MkVSo/xehWEmpb8OXQKMgAEe6ddc2kl4RaGRWqLGDmcjYNVQZ t45DSXu5OGS8a2hTOq89n85v+kJeVgW+EjFmAni7IYAnrq+hmLd9xrlNny4vNjSgwSLx Pi2/XcXcmdTCSY5JyVN+RTaxnh5V5G5pexUqhBbVm5ODiPb/vcJth4le0VlaADt8VOym LO0GnaY6OMn2SxZNJWKeJrDEaeu+I4rJpuZzzDoQud/gefKl6InGArHMHy/UbP2DrpkX D/7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=bizpwonfRzbrjF0IVinq3obyK+xW/bpRY5ko+K6fDAg=; fh=sKSH8jIcl684w6CaYNTQ0/mFg9Q4dtwEqN5eo477spY=; b=kR9Z5qBCqLgNueDaGigPkRHNM/NBZNmXidu7dypvxOsvq8elZw6KNjqhCiPWxRwGo4 bTfc74tUmQQ7ugWV7hKPpuCDOnO6Uz79s8D6RBD/3XcLXUbhTRoeCMUCkYDX42Ahgswh Kz9XEGobEjociQrpjw4xlbvFr+MV1zgZcZIrMQIjb1xXvSK1Qc2lOV2o1W2GAxsblMWl eccjpSWY3nSFjMuUjUDr03akLUCTAXQlWoA1VxUouEsbfRy6aXyDJ/iHBcHmSpG2jnUQ 0gYJZq1404lY09FIMVbNmLZ2UG13pbsrpsKsRkHicYTXL61i1S5384+cndFwcpbIaZCB 5Lww== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@evologics.de header.s=dkim header.b=FYk9U+sh; spf=permerror (google.com: permanent error in processing during lookup of viktor.voronin@evologics.de: spf.strato.de not found) smtp.mailfrom=viktor.voronin@evologics.de; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=evologics.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1695208354; x=1695813154; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bizpwonfRzbrjF0IVinq3obyK+xW/bpRY5ko+K6fDAg=; b=H2ZeQ/BOeBTCMZR9vdxOVS30pEY8jxby7yM/gr/Dxlb2OEyBJWaJhysKLuwuqQMlM7 8Jjli/fRH+v2z83nvtk6iPwtQ1lgbbm3zUKRQ/hrlDnfYMy6Y6XSAh7kkFsLeDfH0m5c elVscRQUcaFBmAAPZnFRuMVPqbMQJJ/ouY9ubBXumUc3rsqN/srzMXlOVeyOxJ7Sme+w mnm5tv8KuKOp2T7CTG+24JIDWjCDAwcRT8/9zdqWbTe2tf4TpOIa4vc/nscnhuxeTeNi 3NaFf3wkZWDlcYc8A23Sh8B7STeotv/NT8XomgXSpXuLZpTI5G7mqAJxYUy/z0J0umcr Qaeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695208354; x=1695813154; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bizpwonfRzbrjF0IVinq3obyK+xW/bpRY5ko+K6fDAg=; b=xFugX4PeQzTEeusmBlX7tdhgG0vMtS4AEFyhOyn6Xth83KuDN/e9FOEn97mYU9B4la u6RdChczaAk2X2snh7t+BfFwwRGKZga52Lxh7hBsRTWdm7we1dMw1MpmxmAU9sZoVNhV kKKF1wePdCrpf/WPehwrJ2ac4bigH9ZltoGjWbRUFrxIBzidrZuVfsByA9kwFYr6vMY6 UXGBxKxr72UXHApaeKfsSXY2p/r/1uHte4X2k2EfE01suIJSmxNDGvv2rv3GndBifXzv csCvMo9HxpBO4xdcYRymC0ksViSltBUmYjzgpU0BriPRbGXCMN+i/QfhS03MYvy6oy6w AC+A== X-Gm-Message-State: AOJu0YwYPDulsrCQNDPa6jHgg9ShYTSkKPCXNF/L6vDoYNorGeA1pw4y kG/23W9r1Z8RYB9d1RglXTg= X-Google-Smtp-Source: AGHT+IFN4Tyn7Pdn3wfmifoL4QTiHam5kbaUELCov7hz5Qsc9Moz7q7LAWkNdrnhVWmHlIv3/Uj3FQ== X-Received: by 2002:a05:600c:b4f:b0:401:b2c7:349b with SMTP id k15-20020a05600c0b4f00b00401b2c7349bmr2018661wmr.7.1695208354211; Wed, 20 Sep 2023 04:12:34 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:3ba1:b0:3fe:cf02:f33b with SMTP id n33-20020a05600c3ba100b003fecf02f33bls1304156wms.2.-pod-prod-07-eu; Wed, 20 Sep 2023 04:12:32 -0700 (PDT) X-Received: by 2002:a5d:5951:0:b0:319:6ae0:cae5 with SMTP id e17-20020a5d5951000000b003196ae0cae5mr2009395wri.70.1695208352606; Wed, 20 Sep 2023 04:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695208352; cv=none; d=google.com; s=arc-20160816; b=JJdUGkqcMBW1PWtsVAkM3MiwxawZzNGEVJFKPyDc/kVtmNrEvbyvDS+F1c30Lvyfs2 lx7uP+BaJWTuv71vmMhz3GDIQ908V32xgxsb4sNnILkZJPJY4fIFBghX4Vm+LeAk19S1 +n+aoslbEGo1zi3Q/m5PHKCl/BZMmpqFWiUChqE65nvYJqjYlVAjgPiyts6c8pzrpzQp 2zr+ODO+vz3KR9jp4U72IJcwkMn8Uta562oZmD5l7AdO8uoYqY3AyvnCoZcpypsEYs1r +N145+c1+dY0fOsEz1+guA1vgBlce6+6e9qFS9d7xYtiqEM8+VbuzvmQ211+YIPfxQbJ ovpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ND4cHMTsOeIxML5EDXK2R9dyXAVXN0WAZtIRsnRnHt4=; fh=sKSH8jIcl684w6CaYNTQ0/mFg9Q4dtwEqN5eo477spY=; b=oAaT1bZNi1phgyg2FWpMgpaHh3EbKdGPg9t0RjOTHA9PCN08rgS8tfBgqLkth0OcgW nLlBd+rnOzy4sXdiuyWOzerhm5+G64qEVOuyhBYagntNIALlptQaxxyBOIoNMM0WQSqS akK9REP831M7AoaBWFeQH7s80ePJKtHsOKLCA0VtT6/GTC1QVVJr/u1Rre0iuRAAEDX2 1ylxrWJEzmDqGUqvhe45J+uDH2ISLrjyTEHam+tvI5SgMxnfC9a6U/EFuCze923uWte2 dgodliknWREEgWZvqFS9a8tipgIKXq6epNCuR0IuB/YiXXxA/9Avf3Sdt4Wq/8RfSxvs IMZw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@evologics.de header.s=dkim header.b=FYk9U+sh; spf=permerror (google.com: permanent error in processing during lookup of viktor.voronin@evologics.de: spf.strato.de not found) smtp.mailfrom=viktor.voronin@evologics.de; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=evologics.de Received: from mail.evologics.biz (mail.evologics.biz. [178.251.229.40]) by gmr-mx.google.com with ESMTPS id bq6-20020a5d5a06000000b003216ba7c697si234474wrb.7.2023.09.20.04.12.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 04:12:32 -0700 (PDT) Received-SPF: permerror (google.com: permanent error in processing during lookup of viktor.voronin@evologics.de: spf.strato.de not found) client-ip=178.251.229.40; Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 02C2288BB6; Wed, 20 Sep 2023 13:12:31 +0200 (CEST) X-Patchwork-Original-From: "'Victor Voronin' via swupdate" From: Victor Voronin To: swupdate@googlegroups.com Cc: Victor Voronin Subject: [swupdate] [swugenerator][PATCH] generator.py: fix type check for 'delta' Date: Wed, 20 Sep 2023 13:12:10 +0200 Message-Id: <20230920111209.497079-1-viktor.voronin@evologics.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-Original-Sender: viktor.voronin@evologics.de X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@evologics.de header.s=dkim header.b=FYk9U+sh; spf=permerror (google.com: permanent error in processing during lookup of viktor.voronin@evologics.de: spf.strato.de not found) smtp.mailfrom=viktor.voronin@evologics.de; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=evologics.de X-Original-From: Victor Voronin Reply-To: Victor Voronin Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Victor Voronin --- swugenerator/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swugenerator/generator.py b/swugenerator/generator.py index 03310e8..f770c95 100644 --- a/swugenerator/generator.py +++ b/swugenerator/generator.py @@ -123,7 +123,7 @@ class SWUGenerator: new.fullfilename = new_path # compression cannot be used with delta, because it has own compressor - elif entry["type"] and entry["type"] == "delta": + elif ("type" in entry) and entry["type"] == "delta": cmd = [ "zck", "-u",