The error message printed by scripts/group-qemu-caps.py and
scripts/test-wrap-argv.py doesn't actually print the filename of the
offending file:
Incorrect line wrapping in $file
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
stdin=subprocess.PIPE)
diff.communicate(input=new.encode('utf-8'))
- print("Incorrect line wrapping in $file",
- file=sys.stderr)
+ print("Incorrect line wrapping in '%s'" %
+ filename, file=sys.stderr)
print("Use group-qemu-caps.py to generate data files",
file=sys.stderr)
return False
stdin=subprocess.PIPE)
diff.communicate(input=new.encode('utf-8'))
- print("Incorrect line wrapping in $file",
- file=sys.stderr)
+ print("Incorrect line wrapping in '%s'" %
+ filename, file=sys.stderr)
print("Use test-wrap-argv.py to wrap test data files",
file=sys.stderr)
return False