Skip to content

Fix a small bug in check_symbol.py when called by comparelibs.py

Bob Cousins requested to merge bobc1/kicad-library-utils:master into master

In some cases, comparelibs.py finds an error in check_symbol.py

Comparing range 34f05105594360082e926358e19a82a3305d9113 to 219cb48cc7e5f6debac7ad5037d748af4368c244
Found new Libraries: MCU_Microchip_PIC18.kicad_sym
Found old Libraries: MCU_Microchip_PIC18.kicad_sym
Changed 'MCU_Microchip_PIC18.kicad_sym:PIC18F1220-SO'
Traceback (most recent call last):
  File "/builds/kicad-library-utils/klc-check/comparelibs.py", line 187, in <module>
    (ec, wc) = sym_check.do_rulecheck(new_sym[symname])
  File "/builds/kicad-library-utils/klc-check/check_symbol.py", line 108, in do_rulecheck
    if not args.silent:
NameError: name 'args' is not defined

This MR fixes some leftover code in check_symbol.py.

Merge request reports