From ebb85aa232bb26207b791fdea00d34b54c9283cf Mon Sep 17 00:00:00 2001 From: "Gerd v. Egidy" Date: Mon, 23 Jan 2012 09:32:08 -0600 Subject: [PATCH] bom-in-python script does not compile --- scripts/bom-in-python/ky/ky.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bom-in-python/ky/ky.py b/scripts/bom-in-python/ky/ky.py index ad809a8919..2fc16d6675 100644 --- a/scripts/bom-in-python/ky/ky.py +++ b/scripts/bom-in-python/ky/ky.py @@ -298,11 +298,11 @@ class netlist(): self.libparts.append(part(self._curr_element)) # If this element is a net, add it to the nets list - if self._curr_element.name = "net" + if self._curr_element.name == "net": self.nets.append(self._curr_element) # If this element is a library, add it to the libraries list - if self._curr_element.name = "library" + if self._curr_element.name == "library": self.libraries.append(self._curr_element) return self._curr_element