Skip to content

Commit db2abde

Browse files
author
Thomas Preud'homme
committed
Fix redundant backslash
Fix Flake8's E502 errors (backslash is redundant between backets. Reviewed By: tnfchris Differential Revision: https://reviews.llvm.org/D94793
1 parent 9bb061a commit db2abde

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lnt/server/ui/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def start_file_logging(self, log_file_name):
265265
rotating.setLevel(logging.DEBUG)
266266
self.logger.addHandler(rotating)
267267
except (OSError, IOError) as e:
268-
print("Error making log file", \
268+
print("Error making log file",
269269
LOG_FILENAME, str(e), file=sys.stderr)
270270
print("Will not log to file.", file=sys.stderr)
271271
else:

lnt/tests/nt.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def execute_nt_tests(test_log, make_variables, basedir, config):
700700
timestamp(), config.build_threads), file=sys.stderr)
701701
res = execute_command(test_log, basedir, args, report_dir)
702702
if res != 0:
703-
print("Failure while running make build! " \
703+
print("Failure while running make build! "
704704
"See log: %s" % test_log.name, file=sys.stderr)
705705

706706
# Then 'make report'.
@@ -720,7 +720,7 @@ def execute_nt_tests(test_log, make_variables, basedir, config):
720720
res = execute_command(test_log, basedir, args, report_dir)
721721

722722
if res != 0:
723-
print("Failure while running nightly tests! "\
723+
print("Failure while running nightly tests! "
724724
"See log: %s" % test_log.name, file=sys.stderr)
725725

726726

@@ -1715,7 +1715,7 @@ def run_test(self, opts):
17151715
reports = []
17161716

17171717
for i in range(opts.multisample):
1718-
print("%s: (multisample) running iteration %d" %\
1718+
print("%s: (multisample) running iteration %d" %
17191719
(timestamp(), i), file=sys.stderr)
17201720
report = run_test(opts.label, i, config)
17211721
reports.append(report)

0 commit comments

Comments
 (0)