From patchwork Sun Sep 17 23:48:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 9955271 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8EA1B603F2 for ; Sun, 17 Sep 2017 23:48:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 810C8289C7 for ; Sun, 17 Sep 2017 23:48:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75F1C28AAC; Sun, 17 Sep 2017 23:48:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1449128AC1 for ; Sun, 17 Sep 2017 23:48:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751524AbdIQXsu (ORCPT ); Sun, 17 Sep 2017 19:48:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:45254 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751295AbdIQXsu (ORCPT ); Sun, 17 Sep 2017 19:48:50 -0400 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B7BA21C9B; Sun, 17 Sep 2017 23:48:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B7BA21C9B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=kbingham@kernel.org From: Kieran Bingham To: laurent.pinchart@ideasonboard.com Cc: linux-renesas-soc@vger.kernel.org, Kieran Bingham Subject: [PATCH 2/5] kmstest: Repeir pep8 whitespace errors Date: Mon, 18 Sep 2017 00:48:41 +0100 Message-Id: <1505692124-12167-3-git-send-email-kbingham@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505692124-12167-1-git-send-email-kbingham@kernel.org> References: <1505692124-12167-1-git-send-email-kbingham@kernel.org> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kieran Bingham PEP8 defines that there should be no whitespace before or after the '{' and '}' braces. Remove whitespace from two statements that incorrectly place spaces around these braces. Signed-off-by: Kieran Bingham --- tests/kmstest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kmstest.py b/tests/kmstest.py index e8e3c3a0305b..0cf69f44703e 100755 --- a/tests/kmstest.py +++ b/tests/kmstest.py @@ -197,7 +197,7 @@ class KMSTest(object): req = pykms.AtomicReq(self.card) req.add(connector, 'CRTC_ID', crtc.id) - req.add(crtc, { 'ACTIVE': 1, 'MODE_ID': mode_blob.id }) + req.add(crtc, {'ACTIVE': 1, 'MODE_ID': mode_blob.id}) if fb: req.add(crtc.primary_plane, { 'FB_ID': fb.id, @@ -238,7 +238,7 @@ class KMSTest(object): def atomic_planes_disable(self, sync=True): req = pykms.AtomicReq(self.card) for plane in self.card.planes: - req.add(plane, { "FB_ID": 0, 'CRTC_ID': 0 }) + req.add(plane, {"FB_ID": 0, 'CRTC_ID': 0}) if sync: return req.commit_sync()