aboutsummaryrefslogtreecommitdiff
path: root/lnt/server
diff options
context:
space:
mode:
authorChris Matthews <cmatthews5@apple.com>2018-12-19 00:10:32 +0000
committerChris Matthews <cmatthews5@apple.com>2018-12-19 00:10:32 +0000
commita6da363997277d109555bdce761be6219824d06e (patch)
tree672c0ddeb077bfd9988fe7abe0cdfe9b65541d81 /lnt/server
parenta70b5e8bd94f142a1f45a3e4e07035dca7d0b306 (diff)
Remove another * import, and put back the import that is needed.
git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@349588 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lnt/server')
-rw-r--r--lnt/server/db/migrations/upgrade_0_to_1.py4
-rw-r--r--lnt/server/db/testsuite.py1
2 files changed, 3 insertions, 2 deletions
diff --git a/lnt/server/db/migrations/upgrade_0_to_1.py b/lnt/server/db/migrations/upgrade_0_to_1.py
index 50073bb..9ff3c3b 100644
--- a/lnt/server/db/migrations/upgrade_0_to_1.py
+++ b/lnt/server/db/migrations/upgrade_0_to_1.py
@@ -4,11 +4,11 @@
# versioning.
import sqlalchemy
-from sqlalchemy import *
+from sqlalchemy import Float, String, Integer, Column, ForeignKey, Binary, DateTime
from sqlalchemy.orm import relation
from sqlalchemy.ext.declarative import declarative_base
-Base = declarative_base()
+Base = declarative_base() # type: sqlalchemy.ext.declarative.api.DeclarativeMeta
###
# Core Schema
diff --git a/lnt/server/db/testsuite.py b/lnt/server/db/testsuite.py
index 02a753e..9e89600 100644
--- a/lnt/server/db/testsuite.py
+++ b/lnt/server/db/testsuite.py
@@ -8,6 +8,7 @@ import testsuitedb
import util
import sqlalchemy
+import sqlalchemy.ext.declarative
import sqlalchemy.orm
from sqlalchemy import Column, Integer, ForeignKey, String, Binary
from sqlalchemy.orm import relation