Fix all remaining indentation issues in python code
authorFelix Held <felix-github@felixheld.de>
Sat, 13 Jan 2018 02:19:36 +0000 (13:19 +1100)
committerFelix Held <felix-github@felixheld.de>
Sat, 13 Jan 2018 02:19:36 +0000 (13:19 +1100)
I ran a script that shouldn't have missed any tab in the python source files.

litex/boards/platforms/kcu105.py
litex/soc/cores/xadc.py
litex/soc/tools/litex_term.py
litex/soc/tools/remote/litex_server.py

index 027da7bfb314a7ba631065f847c90215e85696e2..f83c87ea80a2358615a5d45504d42df7eeb5f712 100644 (file)
@@ -61,7 +61,7 @@ _io = [
         Subsignal("tx", Pins("K26")),
         Subsignal("rx", Pins("G25")),
         IOStandard("LVCMOS18")
-       ),
+    ),
 
     ("spiflash", 0,  # clock needs to be accessed through primitive
         Subsignal("cs_n", Pins("U7")),
index 389a441c1ae9b4856201ab348b8dcce267119693..e990a29ea8b283b470cec3053cdaf703bd12388d 100644 (file)
@@ -28,7 +28,7 @@ class XADC(Module, AutoCSR):
         drdy = Signal()
 
         self.specials += Instance("XADC",
-               # from ug480
+            # from ug480
             p_INIT_40=0x9000, p_INIT_41=0x2ef0, p_INIT_42=0x0400,
             p_INIT_48=0x4701, p_INIT_49=0x000f,
             p_INIT_4A=0x4700, p_INIT_4B=0x0000,
index 43ebbd7be34ca4767076c6ac117ec763f7e56ca5..f73ecd1f955858062115ac7d9f813799cf09474d 100644 (file)
@@ -216,7 +216,7 @@ class LiteXTerm:
                 if c == b"\r":
                     sys.stdout.buffer.write(b"\n")
                 else:
-                       sys.stdout.buffer.write(c)
+                    sys.stdout.buffer.write(c)
                 sys.stdout.flush()
 
                 if self.kernel_image is not None:
index 7e7a1f389bbdc10c3d3225aae32cfc9c8e654600..92fe82fe7d7523b10aab89ed9a5220102440d4ab 100644 (file)
@@ -43,7 +43,7 @@ class RemoteServer(EtherboneIPC):
                         if packet == 0:
                             break
                     except:
-                       break
+                        break
                     packet = EtherbonePacket(packet)
                     packet.decode()