From 1afc85e4886d4d24e61c4a6c3a3486c2e26d117c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 20 Jun 2020 01:02:29 +0100 Subject: [PATCH] whitespace error somehow --- nmigen_soc/wishbone/bus.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nmigen_soc/wishbone/bus.py b/nmigen_soc/wishbone/bus.py index ad6d2d3..2d9296c 100644 --- a/nmigen_soc/wishbone/bus.py +++ b/nmigen_soc/wishbone/bus.py @@ -256,7 +256,7 @@ class Decoder(Elaboratable): """ if not isinstance(sub_bus, Interface): raise TypeError("Subordinate bus must be an instance of " - "wishbone.Interface, not {!r}" .format(sub_bus)) + "wishbone.Interface, not {!r}".format(sub_bus)) if sub_bus.granularity > self.bus.granularity: raise ValueError("Subordinate bus has granularity {}, " "which is greater than the " @@ -264,10 +264,10 @@ class Decoder(Elaboratable): .format(sub_bus.granularity, self.bus.granularity)) if not sparse: if sub_bus.data_width != self.bus.data_width: - raise ValueError("Subordinate bus has data width {}, " - "which is not the same as " - "decoder data width {} " - "(required for dense address translation)" + raise ValueError("Subordinate bus has data width {}, " + "which is not the same as " + "decoder data width {} (required " + "for dense address translation)" .format(sub_bus.data_width, self.bus.data_width)) else: @@ -282,8 +282,8 @@ class Decoder(Elaboratable): for opt_output in {"err", "rty", "stall"}: if hasattr(sub_bus, opt_output) and not hasattr( self.bus, opt_output): - raise ValueError("Subordinate bus has optional output " - "{!r}, but the decoder " + raise ValueError("Subordinate bus has optional output {!r}, " + "but the decoder " "does not have a corresponding input" .format(opt_output)) -- 2.30.2