Commit ebb85aa2 authored by Gerd v. Egidy's avatar Gerd v. Egidy Committed by Dick Hollenbeck

bom-in-python script does not compile

parent 7fd0f0ca
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment