From: Florent Kermarrec Date: Mon, 13 Apr 2015 13:29:34 +0000 (+0200) Subject: litesata: pep8 (E222) X-Git-Tag: 24jan2021_ls180~2335 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9b42161c0540b0c6b86541e6c764a1b8a0ef914;p=litex.git litesata: pep8 (E222) --- diff --git a/misoclib/mem/litesata/example_designs/make.py b/misoclib/mem/litesata/example_designs/make.py index 171be407..2a8b5829 100755 --- a/misoclib/mem/litesata/example_designs/make.py +++ b/misoclib/mem/litesata/example_designs/make.py @@ -72,7 +72,7 @@ if __name__ == "__main__": platform_kwargs = dict((k, autotype(v)) for k, v in args.platform_option) platform = platform_module.Platform(**platform_kwargs) - build_name = top_class.__name__.lower() + "-" + platform_name + build_name = top_class.__name__.lower() + "-" + platform_name top_kwargs = dict((k, autotype(v)) for k, v in args.target_option) soc = top_class(platform, **top_kwargs) soc.finalize() diff --git a/misoclib/mem/litesata/test/hdd.py b/misoclib/mem/litesata/test/hdd.py index 643dfac3..50663442 100644 --- a/misoclib/mem/litesata/test/hdd.py +++ b/misoclib/mem/litesata/test/hdd.py @@ -433,7 +433,7 @@ class CommandLayer(Module): resp = None if isinstance(fis, FIS_REG_H2D): if fis.command == regs["WRITE_DMA_EXT"]: - resp = self.hdd.write_dma_callback(fis) + resp = self.hdd.write_dma_callback(fis) elif fis.command == regs["READ_DMA_EXT"]: resp = self.hdd.read_dma_callback(fis) elif isinstance(fis, FIS_DATA):