-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Fix" silly new flake8 invention (E741)
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Human friendly input/output in Python. | ||
# | ||
# Author: Peter Odding <[email protected]> | ||
# Last Change: June 24, 2017 | ||
# Last Change: December 1, 2020 | ||
# URL: https://humanfriendly.readthedocs.io | ||
|
||
""" | ||
|
@@ -258,7 +258,7 @@ def render_usage(text): | |
('\n\n'.join(render_paragraph(p, meta_variables) for p in split_paragraphs(description))).rstrip(), | ||
]) | ||
csv_lines = csv_buffer.getvalue().splitlines() | ||
output.append('\n'.join(' %s' % l for l in csv_lines)) | ||
output.append('\n'.join(' %s' % ln for ln in csv_lines)) | ||
logger.debug("Rendered output: %s", output) | ||
return '\n\n'.join(trim_empty_lines(o) for o in output) | ||
|
||
|