Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Feb 8, 2015
1 parent 301fbfd commit 6ebcb7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blaze/sql.py
Expand Up @@ -9,8 +9,10 @@
except ImportError:
Table = type(None)


__all__ = ()


@dispatch(Table, basestring)
def create_index(s, column, name=None, unique=False):
if name is None:
Expand All @@ -25,4 +27,3 @@ def create_index(s, columns, name=None, unique=False):
args = name,
args += tuple(getattr(s.c, column) for column in columns)
sa.Index(*args, unique=unique).create(s.bind)

0 comments on commit 6ebcb7c

Please sign in to comment.