equal
deleted
inserted
replaced
134 self.RefreshConnected() |
134 self.RefreshConnected() |
135 |
135 |
136 # Refresh the position of wires connected to power rail |
136 # Refresh the position of wires connected to power rail |
137 def RefreshConnected(self, exclude = []): |
137 def RefreshConnected(self, exclude = []): |
138 for connector in self.Connectors: |
138 for connector in self.Connectors: |
139 connector.MoveConnected(exclude) |
139 if connector: |
|
140 connector.MoveConnected(exclude) |
140 |
141 |
141 # Returns the power rail connector that starts with the point given if it exists |
142 # Returns the power rail connector that starts with the point given if it exists |
142 def GetConnector(self, position): |
143 def GetConnector(self, position): |
143 for connector in self.Connectors: |
144 for connector in self.Connectors: |
144 if connector: |
145 if connector: |