File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -543,16 +543,15 @@ def locate_config(root: str) -> str | None:
543
543
config_dict = json .load (fhandle )
544
544
pp_suffixes = config_dict .get ("pp_suffixes" , None )
545
545
pp_defs = config_dict .get ("pp_defs" , {})
546
- include_dirs = set ()
547
546
for path in config_dict .get ("include_dirs" , set ()):
548
547
include_dirs .update (
549
548
only_dirs (resolve_globs (path , args .debug_rootpath ))
550
549
)
551
550
552
551
if isinstance (pp_defs , list ):
553
552
pp_defs = {key : "" for key in pp_defs }
554
- except :
555
- print (f"Error while parsing '{ args .config } ' settings file" )
553
+ except ValueError as e :
554
+ print (f"Error { e } while parsing '{ args .config } ' settings file" )
556
555
557
556
print ("\n Testing parser" )
558
557
print (' File = "{}"' .format (args .debug_filepath ))
You can’t perform that action at this time.
0 commit comments