From c40c7006adeeaf9a16a27a95eecfece05623e5d3 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 28 Oct 2018 13:46:29 -0500 Subject: [PATCH] Placate flake8 3.6 --- pytools/__init__.py | 8 ++++---- pytools/datatable.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index 2f95fe4..6c03ef7 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -1583,10 +1583,10 @@ class CPyUserInterface(object): argv = sys.argv if len(argv) == 1 or ( - ("-h" in argv) or - ("help" in argv) or - ("-help" in argv) or - ("--help" in argv)): + ("-h" in argv) + or ("help" in argv) + or ("-help" in argv) + or ("--help" in argv)): self.show_usage(argv[0]) sys.exit(2) diff --git a/pytools/datatable.py b/pytools/datatable.py index d66013d..1d534fe 100644 --- a/pytools/datatable.py +++ b/pytools/datatable.py @@ -243,9 +243,9 @@ class DataTable: for this_batch_row in this_batch: for other_batch_row in other_batch: - result_data.append((key,) + - without(this_batch_row, this_key_idx) + - without(other_batch_row, other_key_idx)) + result_data.append((key,) + + without(this_batch_row, this_key_idx) + + without(other_batch_row, other_key_idx)) if outer: if this_over and other_over: -- GitLab