From e2adc23681c35bf67834d636a62f4d9c7cf18220 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Fri, 22 Jun 2018 19:21:01 -0700 Subject: icebox_hlc2asc: Fix spelling in error message. --- icebox/icebox_hlc2asc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icebox/icebox_hlc2asc.py b/icebox/icebox_hlc2asc.py index c26b173..cb9ab1c 100755 --- a/icebox/icebox_hlc2asc.py +++ b/icebox/icebox_hlc2asc.py @@ -293,7 +293,7 @@ def revert_to_fabout(x, y, net): for i, xy in enumerate(GLB_NETWK_INTERNAL_TILES): if net == 'glb_netwk_%d' % i and (x, y) == xy: return 'fabout' - raise ParseError("{} is a global netowrk, but not at an expectd location {} {}".format(net, x, y)) + raise ParseError("{} is a global network, but not at an expected location {} {}".format(net, x, y)) return net @@ -956,7 +956,7 @@ class IOTile(Tile): if fields == ['io_1'] and self.blocks[1] is None: self.blocks[1] = IOBlock(self, 1) return self.blocks[1] - raise ParseError("Unepxected new block in {}".format(type(self).__name__)) + raise ParseError("Unexpected new block in {}".format(type(self).__name__)) class IOBlock: def __init__(self, tile, index): -- cgit v1.2.3