[LNT] r307416 - db: rename check_json_schema_changes -> check_schema_changes; NFC
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 10:56:08 PDT 2017
Author: matze
Date: Fri Jul 7 10:56:08 2017
New Revision: 307416
URL: http://llvm.org/viewvc/llvm-project?rev=307416&view=rev
Log:
db: rename check_json_schema_changes -> check_schema_changes; NFC
Schemas are defines in yaml now, 'json' as part of the method name was
confusing.
Modified:
lnt/trunk/lnt/server/db/testsuite.py
lnt/trunk/lnt/server/db/v4db.py
Modified: lnt/trunk/lnt/server/db/testsuite.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/testsuite.py?rev=307416&r1=307415&r2=307416&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/testsuite.py (original)
+++ lnt/trunk/lnt/server/db/testsuite.py Fri Jul 7 10:56:08 2017
@@ -248,7 +248,7 @@ class TestSuite(Base):
ts.jsonschema = data
return ts
- def check_json_schema_changes(self, v4db):
+ def check_schema_changes(self, v4db):
name = self.name
schema = TestSuiteJSONSchema(name, self.jsonschema)
prev_schema = v4db.query(TestSuiteJSONSchema) \
Modified: lnt/trunk/lnt/server/db/v4db.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/v4db.py?rev=307416&r1=307415&r2=307416&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/v4db.py (original)
+++ lnt/trunk/lnt/server/db/v4db.py Fri Jul 7 10:56:08 2017
@@ -54,7 +54,7 @@ class V4DB(object):
create_tables = False
ts = self._extra_suites.get(name)
if ts:
- ts.check_json_schema_changes(self.v4db)
+ ts.check_schema_changes(self.v4db)
create_tables = True
else:
# Get the test suite object.
More information about the llvm-commits
mailing list