mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 21:54:15 +01:00
Fix "#define ... not found" error when using the default file name
Also make that error message end with a newline.
This commit is contained in:
parent
63cdb2855f
commit
2552bc73d4
@ -391,8 +391,8 @@ if __name__ == '__main__':
|
||||
elif args.command == 'set':
|
||||
if not args.force and args.symbol not in config.settings:
|
||||
sys.stderr.write("A #define for the symbol {} "
|
||||
"was not found in {}"
|
||||
.format(args.symbol, args.file))
|
||||
"was not found in {}\n"
|
||||
.format(args.symbol, config.filename))
|
||||
return 1
|
||||
config.set(args.symbol, value=args.value)
|
||||
elif args.command == 'unset':
|
||||
|
Loading…
Reference in New Issue
Block a user