Message ID | 20230116195059.25744-4-daniel@braunwarth.dev |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBAABB6WVS2PAMGQEZKTQFGA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::439; helo=mail-wr1-x439.google.com; envelope-from=swupdate+bncbaabb6wvs2pamgqezktqfga@googlegroups.com; receiver=<UNKNOWN>) 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=20210112 header.b=k8c7S3Q9; dkim-atps=neutral Received: from mail-wr1-x439.google.com (mail-wr1-x439.google.com [IPv6:2a00:1450:4864:20::439]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NwjNb5JMtz23h1 for <incoming@patchwork.ozlabs.org>; Tue, 17 Jan 2023 06:52:30 +1100 (AEDT) Received: by mail-wr1-x439.google.com with SMTP id o11-20020adf8b8b000000b002be143c4827sf590827wra.19 for <incoming@patchwork.ozlabs.org>; Mon, 16 Jan 2023 11:52:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673898747; cv=pass; d=google.com; s=arc-20160816; b=p3pyhecXO8c/IvNarqBA36BDRKt2d0C/Qb5E9urVsw10HWemv5y76jB0TrHYHTWbcV M/iF9j7mWMBpET5TBhMxhdmUZ/+m5tfjYSB6acgx/r2ZNFJ9bg9TIhP3PjqEywR3p+Q/ SLje/9CZP7MMS5nkgJYq1ZHxE+CMs4HJ/6D6h6JchqETXv55h7LyaxkM8Lm71tT5F6zl mrfiy3PW8NcRfoFy1tWFdbe3KBtGCzco302VYnap0+jokUbVp/bneltqXO0vOZtS6Scj QHXHUuzsu10OyD+zSALO2BIO/K6blu4xVJ70ekXBcetMx4+EIW88r0bZGTemJqwKuo2F 8QgA== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=PL/+n/VKBx0SEGH5waywV6qM01XiOXv1GYNFL0nEKL4=; b=SfI6pTWCQJqs4yUgaisP2NokbF01XVKyiM0bUHD39I0sfsVwKbucTB6YmJBsUv4AT5 hGZ7FYRrHxGEljMlwkjrNnoKUpScH9wtMbiLBkX+NP66KncAyGcebC/IjT6TKuCYhB0s E2unurLIAujvOizci8vbkrxOOPc9XUzrgaTrkWz68Nu73fO6zUni1LfsvZXNBVSiFbX5 B4TXar9Z96EDdCl+tI1hRknKruS16HKRK09aoo5pq0HX0KvqLdC/hDaJoJYl3Bn9g2/F TEhL4fEul3/z5kwdB6g+eJAUkWqB8Yj5omirsRGNpQcGJhYsc8dXFC3/PkkvqOhSUHiD SEqQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of daniel@braunwarth.dev designates 185.26.156.157 as permitted sender) smtp.mailfrom=daniel@braunwarth.dev DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=PL/+n/VKBx0SEGH5waywV6qM01XiOXv1GYNFL0nEKL4=; b=k8c7S3Q94pJhZn2/pD7gYT6IRz9z+wdQVGblIpyrKU3G+BY7hqTqZFY7Ay8Fzj8OwK cAbUTDpo/413P5K/xSGb4KNmcqPCEWte9o18kibkw5IxA051lOE5/tEAuZMb0Rcd5NHD BOZ2XrkcQ2sTWjIlBUoaognrpculv1fRHiGrv+HExmnO/zCwFe7WUQhXuuCrMK6UiEpt kMCVt5oZD1C2BSow/4O8dt42PF8XtZbA1C3V6YBgnNJ1m2bxWd+AtKuq/0noIBy6+Tre UtJ7xm5qO4tA0locFwjvg/LdjzHeMOGu616U8muNSp9Jw0TrrFTVlLJecdTuoykZnDFf PrIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=PL/+n/VKBx0SEGH5waywV6qM01XiOXv1GYNFL0nEKL4=; b=EY2zJgLM1WSFfianMPJfgpP6gHpPCKOgCNcy4bCGeUHJg39XDF9sW9xbksl1WE8d/C Qe2srua0oJ00cf7jRKStznOhXPRtxhtNhOCSvKa4WDaJ5lMJtlceSfkQtrimNdu0i92M ka6QOGO2/eJYE+SVV6Jvu2x/Ce6W1w20skOB6u66yOmYkwc5//m3R3/0wEZsAYVS+cQy SQW7EzbSH6obqOy/3IwYtErwP1tLzsQqratIZHra3/4k4UHn+03nPECeHz6K926fNC9j sPpilSQcUt2K9ahrG3d7OVOlBOAZk7oPtzsLVIBFl33OPmxjNDq0L+dsVBEa63t0wimu BQdQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AFqh2kpVcYi51Ihjdeqo37uyyYl4Ibuk05+Nyn5/kihl2mLLCzSJEQrE KwVcEmITjPxcLGRSdVeSqGU= X-Google-Smtp-Source: AMrXdXuZt35vXI2F470YzXIvpCs45EoZPmQCu7zeZgHAc7huLkzOFasyw9NvT2vWRPqtSKN5xogOSQ== X-Received: by 2002:a05:600c:1e01:b0:3d9:e5a6:e176 with SMTP id ay1-20020a05600c1e0100b003d9e5a6e176mr43296wmb.85.1673898746883; Mon, 16 Jan 2023 11:52:26 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a1c:7708:0:b0:3d9:bb72:6814 with SMTP id t8-20020a1c7708000000b003d9bb726814ls6758266wmi.3.-pod-control-gmail; Mon, 16 Jan 2023 11:52:26 -0800 (PST) X-Received: by 2002:a05:600c:1c8b:b0:3d9:f492:f25f with SMTP id k11-20020a05600c1c8b00b003d9f492f25fmr609790wms.16.1673898746021; Mon, 16 Jan 2023 11:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673898746; cv=none; d=google.com; s=arc-20160816; b=MC+iLuV+C9KIxrqWzegf77u59DHjczqw1p58J6XrwypIyPYUbPDzdBo7A8oj+NzRxF PFD5mVQmTYCTcbGutYbH4diwJVQ3xxI1WBmOAcjpYUK24zTgPmm2FMj3bWLKsspZ02EH 9ujhATIQIhxyBSUuoXdUrNea9I73sV9EWlmw3SOpLl3gt7rRtjkCGIQdWwQ96Ph6oiyq WV9dknVu72y1a/lwYZOasgnmZdOeY9haSGX0KPUjvq0Y3cvzZXmKa8IuEqGogcJwt78q j2IanLKEA4CuHSAGihLwpifGoRBWMJy2xIsp2ZArVytq7NwnRstozP4wcX+ppEXUfELo 0Uwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=cDPw8H1CWlJdXnPW8LkElWS1iAoVtcl0S2mFkK98jg4=; b=gcJGgtmFmlYOM/6kr58UI8JpPNN2rLCo352Mr0UB+6nJgLy75fBVb7EvcKPbBi+7S3 UV4GC9gEXmOLC3WCziMzmtmhL60OSpeCKti2CuemO+8JkxI6Ddht9WmRACr0AlLngCEv rpSUpRJQGchLlQvqecp+5LunwyxvapTjvK+pUZfX6jRd3+cnFDbEa+nK//9xIdyBUKd6 EDzqbiU0jCny4ASVCMnnZ80QHMojdwW8QoRC+pJ40M1vxuUFH3+VWl8esBM4s29P7ba0 PN8MgZd34DGjUs2CReSfmt+l4v1tK4cCNiKu/9YEEnb4SLUvN4KSQDClbm3air4f/5eT BY0Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of daniel@braunwarth.dev designates 185.26.156.157 as permitted sender) smtp.mailfrom=daniel@braunwarth.dev Received: from bergelmir.uberspace.de (bergelmir.uberspace.de. [185.26.156.157]) by gmr-mx.google.com with ESMTPS id n7-20020a05600c500700b003da2550fb5fsi484273wmr.1.2023.01.16.11.52.25 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jan 2023 11:52:25 -0800 (PST) Received-SPF: pass (google.com: domain of daniel@braunwarth.dev designates 185.26.156.157 as permitted sender) client-ip=185.26.156.157; Received: (qmail 5728 invoked by uid 989); 16 Jan 2023 19:52:25 -0000 From: Daniel Braunwarth <daniel@braunwarth.dev> To: swupdate@googlegroups.com Cc: daniel@braunwarth.dev Subject: [swupdate] [PATCH 3/5] examples/client: sort imports Date: Mon, 16 Jan 2023 20:50:57 +0100 Message-Id: <20230116195059.25744-4-daniel@braunwarth.dev> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230116195059.25744-1-daniel@braunwarth.dev> References: <20230116195059.25744-1-daniel@braunwarth.dev> MIME-Version: 1.0 X-Rspamd-Bar: ----- X-Rspamd-Report: R_MISSING_CHARSET(0.5) MIME_GOOD(-0.1) REPLY(-4) MID_CONTAINS_FROM(1) BAYES_HAM(-2.999999) X-Rspamd-Score: -5.599999 Received: from unknown (HELO unkown) (::1) by bergelmir.uberspace.de (Haraka/2.8.28) with ESMTPSA; Mon, 16 Jan 2023 20:52:25 +0100 X-Original-Sender: daniel@braunwarth.dev X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of daniel@braunwarth.dev designates 185.26.156.157 as permitted sender) smtp.mailfrom=daniel@braunwarth.dev Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series | examples/client: Various improvements | expand |
> Signed-off-by: Daniel Braunwarth <daniel@braunwarth.dev>
Applied to swupdate, master, thanks !
Best regards,
Stefano Babic
diff --git a/examples/client/swupdate_client.py b/examples/client/swupdate_client.py index 1e597ba..78e92f1 100755 --- a/examples/client/swupdate_client.py +++ b/examples/client/swupdate_client.py @@ -5,15 +5,16 @@ # SPDX-License-Identifier: GPL-2.0-only # +import argparse import asyncio import json -import requests -import websockets import logging import string -import argparse import sys +import requests +import websockets + class SWUpdater: """Python helper class for SWUpdate"""
Signed-off-by: Daniel Braunwarth <daniel@braunwarth.dev> --- examples/client/swupdate_client.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)