Skip to content

Commit

Permalink
Device/Manufacturer cleanup of pybis.
Browse files Browse the repository at this point in the history
Make device/manufacturer attributes hidden, but also print them out as
text.
  • Loading branch information
russdill committed Feb 16, 2012
1 parent 998ce4a commit bcf3920
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/ibs2symdef.py
Expand Up @@ -71,9 +71,11 @@
print "--vmode"

print "[labels]"
print component_name
print "refdes=U?"
print "device=" + component_name
print "manufacturer=" + component.manufacturer
print component.manufacturer
print "! device=" + component_name
print "! manufacturer=" + component.manufacturer

# Reduce all numbers in a name down to ' ', this allows us to detect
# busses.
Expand Down

0 comments on commit bcf3920

Please sign in to comment.