Commit b82cc087 authored by intrigeri's avatar intrigeri
Browse files

lint_po: make output nicer when no files are passed.

The ":(" smiley unnecessarily conveys bad feelings. Last time I checked,
programs have no feelings :)

Besides, fix typography and make every line of the error message not longer than
80 chars.
parent 0da94c64
......@@ -275,8 +275,9 @@ def main(logger) -> None:
if not args.files and not args.cached:
logger.warning("no file to process :("
" You may want to add files to operate on. See --help for further information.")
logger.warning("No file to process.\n"
"You may want to add files to operate on."
" See --help for further information.")
for prog in ("i18nspector",):
if shutil.which(prog) is None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment