[diffoscope] 12/12: fix pep8 E251
Mattia Rizzolo
mattia at debian.org
Sat Sep 9 22:04:40 CEST 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository diffoscope.
commit b0970cd453ee562945c141e151e9fcaece22a555
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Sep 9 22:02:53 2017 +0200
fix pep8 E251
although here i might have introduced other pep8-issues
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
diffoscope/main.py | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/diffoscope/main.py b/diffoscope/main.py
index 0f2cafa..da9cf53 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -146,15 +146,13 @@ def create_parser():
group2.add_argument('--max-page-size', metavar='BYTES', type=int,
help='Maximum bytes of the top-level (--html-dir) or sole '
'(--html) page. (default: %(default)s, remains in effect '
- 'even with --no-default-limits)', default=
- Config().max_page_size).completer=RangeCompleter(
- Config().max_page_size)
+ 'even with --no-default-limits)',
+ default=Config().max_page_size).completer=RangeCompleter(Config().max_page_size)
group2.add_argument('--max-page-size-child', metavar='BYTES', type=int,
help='In --html-dir output, this is the maximum bytes of '
'each child page (default: %(default)s, remains in '
- 'effect even with --no-default-limits)', default=
- Config().max_page_size_child).completer=RangeCompleter(
- Config().max_page_size_child)
+ 'effect even with --no-default-limits)',
+ default=Config().max_page_size_child).completer=RangeCompleter(Config().max_page_size_child)
# TODO: old flag kept for backwards-compat, drop 6 months after v84
group2.add_argument('--max-report-size-child', metavar='BYTES', type=int,
help=argparse.SUPPRESS, default=None)
@@ -164,9 +162,8 @@ def create_parser():
'spilling it into child pages (--html-dir) or skipping the '
'rest of the diff block. Child pages are limited instead by '
'--max-page-size-child. (default: %(default)s, remains in '
- 'effect even with --no-default-limits)', default=
- Config().max_page_diff_block_lines).completer=RangeCompleter(
- Config().max_page_diff_block_lines)
+ 'effect even with --no-default-limits)',
+ default=Config().max_page_diff_block_lines).completer=RangeCompleter(Config().max_page_diff_block_lines)
# TODO: old flag kept for backwards-compat, drop 6 months after v84
group2.add_argument("--max-diff-block-lines-parent", metavar='LINES', type=int,
help=argparse.SUPPRESS, default=None)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list