diff --git a/pytools/__init__.py b/pytools/__init__.py index 2f95fe453496f6f13da1fdb7d13d03632dd77395..6c03ef7fbe66dc5391202fa67f41d4b93e1d2210 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 d66013d1dc9613da2e101ce7748e29873356c8f7..1d534fecd190b31b6ed52479a658a3d222f3658b 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: