Skip to content

Commit

Permalink
Fix python build
Browse files Browse the repository at this point in the history
  • Loading branch information
nhumrich committed Jul 25, 2016
1 parent 58c2747 commit 646218c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions run.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/usr/bin/env python3
from tmeister import core
import sys
import coverage

if __name__ == '__main__':
# cov = coverage.Coverage()
# cov.start()
core.main()
# cov.stop()
# cov.html_report()
2 changes: 1 addition & 1 deletion tmeister/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from sqlalchemy.dialects.postgresql import ARRAY, TIMESTAMP
import sqlalchemy as sa
from psycopg2 import IntegrityError
import asyncpg

metadata = sa.MetaData()

Expand Down Expand Up @@ -134,6 +133,7 @@ def begin(self):
return Transaction(conn)

async def test(self):
import asyncpg
await self._get_engine()
query = self.toggles.select() \
.where(db.toggles.c.env == 'bob2') \
Expand Down

0 comments on commit 646218c

Please sign in to comment.