Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
ebb85aa2
Commit
ebb85aa2
authored
Jan 23, 2012
by
Gerd v. Egidy
Committed by
Dick Hollenbeck
Jan 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bom-in-python script does not compile
parent
7fd0f0ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ky.py
scripts/bom-in-python/ky/ky.py
+2
-2
No files found.
scripts/bom-in-python/ky/ky.py
View file @
ebb85aa2
...
@@ -298,11 +298,11 @@ class netlist():
...
@@ -298,11 +298,11 @@ class netlist():
self
.
libparts
.
append
(
part
(
self
.
_curr_element
))
self
.
libparts
.
append
(
part
(
self
.
_curr_element
))
# If this element is a net, add it to the nets list
# 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
)
self
.
nets
.
append
(
self
.
_curr_element
)
# If this element is a library, add it to the libraries list
# 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
)
self
.
libraries
.
append
(
self
.
_curr_element
)
return
self
.
_curr_element
return
self
.
_curr_element
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment