[PATCH 2/5] kmstest: Repeir pep8 whitespace errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxx>
---
 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()
-- 
2.7.4




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux