Kinsey Moore started a new discussion on source-builder/sb/setbuilder.py: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/238#note_149703

 >  
 >  
 >  def list_bset_cfg_files(opts, configs):
 > -    if opts.get_arg('--list-configs') or opts.get_arg('--list-bsets'):
 > +    if opts.get_arg('--list-configs') or opts.get_arg(
 > +            '--list-bsets') or opts.get_arg('--list-bincs'):
 >          if opts.get_arg('--list-configs'):
 >              ext = '.cfg'
 > +        if opts.get_arg('--list-bincs'):

I would recommend `elif` here. Weird things will happen if someone specifies 
multiple of these options.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/238#note_149703
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to