Skip to content

Commit a6eba04

Browse files
committed
Adding redshift create table special syntax.
Python 3 fix.
1 parent aa46b7a commit a6eba04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redshift_sqlalchemy/dialect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def post_create_table(self, table):
6767

6868
sortkey = info.get('sortkey', None)
6969
if sortkey:
70-
if isinstance(sortkey, basestring):
70+
if isinstance(sortkey, str):
7171
keys = (sortkey,)
7272
else:
7373
keys = sortkey

0 commit comments

Comments
 (0)