[LNT] r349588 - Remove another * import, and put back the import that is needed.
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 18 16:10:32 PST 2018
Author: cmatthews
Date: Tue Dec 18 16:10:32 2018
New Revision: 349588
URL: http://llvm.org/viewvc/llvm-project?rev=349588&view=rev
Log:
Remove another * import, and put back the import that is needed.
Modified:
lnt/trunk/lnt/server/db/migrations/upgrade_0_to_1.py
lnt/trunk/lnt/server/db/testsuite.py
Modified: lnt/trunk/lnt/server/db/migrations/upgrade_0_to_1.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/migrations/upgrade_0_to_1.py?rev=349588&r1=349587&r2=349588&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/migrations/upgrade_0_to_1.py (original)
+++ lnt/trunk/lnt/server/db/migrations/upgrade_0_to_1.py Tue Dec 18 16:10:32 2018
@@ -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
Modified: lnt/trunk/lnt/server/db/testsuite.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/testsuite.py?rev=349588&r1=349587&r2=349588&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/testsuite.py (original)
+++ lnt/trunk/lnt/server/db/testsuite.py Tue Dec 18 16:10:32 2018
@@ -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
More information about the llvm-commits
mailing list