[LNT] r311677 - v4db: Remove unused members
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 24 10:34:04 PDT 2017
Author: matze
Date: Thu Aug 24 10:34:04 2017
New Revision: 311677
URL: http://llvm.org/viewvc/llvm-project?rev=311677&view=rev
Log:
v4db: Remove unused members
Modified:
lnt/trunk/lnt/server/db/v4db.py
Modified: lnt/trunk/lnt/server/db/v4db.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/v4db.py?rev=311677&r1=311676&r2=311677&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/v4db.py (original)
+++ lnt/trunk/lnt/server/db/v4db.py Thu Aug 24 10:34:04 2017
@@ -155,15 +155,6 @@ class V4DB(object):
self.TestSuite = testsuite.TestSuite
self.SampleField = testsuite.SampleField
- # Resolve or create the known status kinds.
- kinds = {k.id: k for k in self.query(testsuite.StatusKind).all()}
- try:
- self.pass_status_kind = kinds[lnt.testing.PASS]
- self.fail_status_kind = kinds[lnt.testing.FAIL]
- self.xfail_status_kind = kinds[lnt.testing.XFAIL]
- except KeyError:
- fatal("status kinds not initialized!")
-
self._load_shemas()
def close(self):
More information about the llvm-commits
mailing list