From 272836c4fabf7a7ab23fe58349e01c9471e85d5a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 26 Jul 2018 11:58:52 +0100 Subject: [PATCH] remove one extra newline --- src/bsv/interface_decl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bsv/interface_decl.py b/src/bsv/interface_decl.py index 86788e3..78e774c 100644 --- a/src/bsv/interface_decl.py +++ b/src/bsv/interface_decl.py @@ -462,6 +462,7 @@ class InterfaceBus(InterfaceFmt): pins = self.get_buspins() plen = len(pins) / self.get_n_iopinsdiv() + res += '\n' template = " interface {1}#(%s) {2};\n" % self.bitspec for i, n in enumerate(self.namelist): if not n: @@ -483,7 +484,7 @@ class InterfaceBus(InterfaceFmt): bitspec = self.bitspec.format(plen) print self return '\n' + res + self.vectorifacedef2( - pins, plen, self.namelist, bitspec, *args) + '\n' + pins, plen, self.namelist, bitspec, *args) def ifacedef3pin(self, idx, pin): decfn = self.ifacefmtdecfn2 -- 2.30.2