Skip to content

Commit 824079e

Browse files
author
Thomas Preud'homme
committed
Fix remaining Flake8 whitespace issues
Fix the following Flake8 errors: - E211 (whitespace before opening parenthesis) - E241 (multiple spaces after comma) Reviewed By: tnfchris Differential Revision: https://reviews.llvm.org/D94791
1 parent 0c5141a commit 824079e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lnt/server/db/v4db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _load_schemas(self):
5050
tsdb = lnt.server.db.testsuitedb.TestSuiteDB(self, name, suite)
5151
self.testsuite[name] = tsdb
5252
# Order testuites alphabetically to get groupings
53-
self.testsuite = dict (sorted (self.testsuite.items()))
53+
self.testsuite = dict(sorted(self.testsuite.items()))
5454

5555
def __init__(self, path, config, baseline_revision=0):
5656
# If the path includes no database type, assume sqlite.

lnt/server/ui/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class LNTObjectJSONEncoder(flask.json.JSONEncoder):
5353
"""Take SQLAlchemy objects and jsonify them. If the object has an __json__
5454
method, use that instead."""
5555

56-
def __init__(self, *args, **kwargs):
56+
def __init__(self, *args, **kwargs):
5757
super(LNTObjectJSONEncoder, self).__init__(*args, **kwargs)
5858

5959
def default(self, obj):

0 commit comments

Comments
 (0)