Fixes to various issues reported by pyflakes

Pyflake is a python (2) source checker. This patch fixes various
(mostly trivial) errors and warnings it reports.

Change-Id: Ia35c5ac61751b927814cf693994c632c412386ea
This commit is contained in:
Tzafrir Cohen
2016-12-14 10:21:25 +02:00
parent 500c6af9db
commit bab253ac9f
7 changed files with 3 additions and 10 deletions

View File

@@ -11,7 +11,6 @@ revision = '4c573e7135bd'
down_revision = '28887f25a46f'
from alembic import op
from alembic import context
import sqlalchemy as sa
from sqlalchemy.dialects.postgresql import ENUM

View File

@@ -33,7 +33,6 @@ import sqlalchemy as sa
def upgrade():
context = op.get_context()
# Was unable to find a way to use op.alter_column() to add the unique
# index property.
op.drop_column('queue_members', 'uniqueid')