From nobody Wed May 14 13:09:45 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1524085128564186.4532043263721; Wed, 18 Apr 2018 13:58:48 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 27E064A706; Wed, 18 Apr 2018 20:58:47 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F1C6180A87; Wed, 18 Apr 2018 20:58:46 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id AC1BD18033EB; Wed, 18 Apr 2018 20:58:46 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w3IKwL86013423 for ; Wed, 18 Apr 2018 16:58:21 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1D13881F13; Wed, 18 Apr 2018 20:58:21 +0000 (UTC) Received: from mx1.redhat.com (ext-mx17.extmail.prod.ext.phx2.redhat.com [10.5.110.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 148D881F3A for ; Wed, 18 Apr 2018 20:58:10 +0000 (UTC) Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3B0C93133E80 for ; Wed, 18 Apr 2018 20:57:59 +0000 (UTC) Received: by mail-wr0-f170.google.com with SMTP id u4-v6so8337099wrg.10 for ; Wed, 18 Apr 2018 13:57:59 -0700 (PDT) Received: from rst.Home ([2a02:c7d:692a:c500:1ebc:73f3:5f60:b131]) by smtp.gmail.com with ESMTPSA id y7sm708743wmy.30.2018.04.18.13.57.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Apr 2018 13:57:56 -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:in-reply-to:references; bh=nFHl4DznVY462W5Sa2t1MmikXxX0CP4xlKQ1NjtWcrM=; b=njVewaSd/sI/wgVO7hatmvVaKRd5ZbmGVgxhf5PHSpXTmH73CeHVZondfvtexq3/Cs 0rAaAhFcARBFrgZTqNY1Z5uW2CHvt/FmfLXmcHEyqvCNCj9hX11wpIdDV5vwyUrCahzk LtuwaiMRPm/eXBgiS7MQqn/fWsd3l4iRzDQrb+9CzbyNUFnaEtcxb/H6SSdSj+Gmmxrs xQOPbOIWfZCNBqJzsPyp+uzfkiUekr1NbVubA9mw4Ycj4C5nA3AWavINEbhBFMsYb6lW G0T5rmEx5iHS5PCUhAQOwxOFuadQCDuJULyJkosHHbC7F0eIxW8kPYQVJNaJG0y7Kvq+ 3Oww== 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:in-reply-to :references; bh=nFHl4DznVY462W5Sa2t1MmikXxX0CP4xlKQ1NjtWcrM=; b=aQpJIYw7EbJDJTKdtfc/gvAh1YXXVrdXf/rhJKFPe8SebCuUuNz24zUALQAjXkv0vQ l9ZZLEFDEqjcdZ5ecpwN3Qlo/XOYfbg3H7mS7xrCMso7v9eKQeJIedo+6qZwthlVVW2L Dqb72wQDQjJEXzlJ9SSyQSAyyzynaXZWVwtPS8G+nL9z5fgkmirqbAf9lSfkfvnkMYRz 5thNdpL4isko6eme8aF49uIqZATuKhBVxEglqHtQ/m6cMfTeAle8zOofXnk0np+MCaBq GZjl3nJXy89AU6RgExGaOObl1D1q0tHt3i2W9w5Ow99Ew5m/vekAYFXz8+jHayQl7pTS 2TUA== X-Gm-Message-State: ALQs6tCNJ2vYXEl2DSSUj/MCENBDpLWMgcwso3vIt+d+Z69w24rsrEjt 3PKJp2WK8VB0f4R6GYaVA/uRDVyx X-Google-Smtp-Source: AIpwx4/+HVKYAsnA/eBuH0xIDZa3LBRVvoww2HFF+ti5QyQd9qvVaoObOv+d4dwZFZRnqH1K6vtnVw== X-Received: by 10.28.6.149 with SMTP id 143mr2816014wmg.61.1524085077671; Wed, 18 Apr 2018 13:57:57 -0700 (PDT) From: Radostin Stoyanov To: libvir-list@redhat.com Date: Wed, 18 Apr 2018 21:57:41 +0100 Message-Id: <20180418205747.28848-4-rstoyanov1@gmail.com> In-Reply-To: <20180418205747.28848-1-rstoyanov1@gmail.com> References: <20180418205747.28848-1-rstoyanov1@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Wed, 18 Apr 2018 20:57:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Wed, 18 Apr 2018 20:57:59 +0000 (UTC) for IP:'209.85.128.170' DOMAIN:'mail-wr0-f170.google.com' HELO:'mail-wr0-f170.google.com' FROM:'rstoyanov1@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.55 * (DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS, T_DKIM_INVALID) 209.85.128.170 mail-wr0-f170.google.com 209.85.128.170 mail-wr0-f170.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.46 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Radostin Stoyanov Subject: [libvirt] [PATCH sandbox-image 3/9] pylint: Use consistent indentation of 4 spaces X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 18 Apr 2018 20:58:47 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Pylint warning W0311 - Bad indentation http://pylint-messages.wikidot.com/messages:w0311 Signed-off-by: Radostin Stoyanov --- libvirt_sandbox_image/sources/docker.py | 4 ++-- scripts/virt-sandbox-image | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libvirt_sandbox_image/sources/docker.py b/libvirt_sandbox_imag= e/sources/docker.py index cf90112..94eb6d1 100755 --- a/libvirt_sandbox_image/sources/docker.py +++ b/libvirt_sandbox_image/sources/docker.py @@ -47,9 +47,9 @@ class DockerConfParser(): def getEnvs(self): lst =3D self.json_data['config']['Env'] if lst is not None and isinstance(lst,list): - return lst + return lst else: - return [] + return [] =20 class DockerImage(): =20 diff --git a/scripts/virt-sandbox-image b/scripts/virt-sandbox-image index 9d0ff82..c021850 100755 --- a/scripts/virt-sandbox-image +++ b/scripts/virt-sandbox-image @@ -6,4 +6,4 @@ import sys from libvirt_sandbox_image import cli =20 if __name__ =3D=3D '__main__': - sys.exit(cli.main()) + sys.exit(cli.main()) diff --git a/setup.py b/setup.py index 85f5d45..dd22fd5 100644 --- a/setup.py +++ b/setup.py @@ -97,7 +97,7 @@ setup( ], install_requires=3D[], cmdclass =3D { - 'build': my_build, + 'build': my_build, }, classifiers =3D [ "License :: OSI Approved :: GNU Lesser General Public License v2 o= r later (LGPLv2+)", --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list