diff mbox

[2/5] kmstest: Repeir pep8 whitespace errors

Message ID 1505692124-12167-3-git-send-email-kbingham@kernel.org (mailing list archive)
State Not Applicable
Delegated to: Geert Uytterhoeven
Headers show

Commit Message

Kieran Bingham Sept. 17, 2017, 11:48 p.m. UTC
From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

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 <kieran.bingham+renesas@ideasonboard.com>
---
 tests/kmstest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

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()