dataset.py.patch 456 Bytes
Newer Older
Penom Nom's avatar
Penom Nom committed
1 2 3 4 5 6 7 8 9 10 11 12
18,22c18,22
< # try:
< #     from MySQLdb import connect as MySQLConnect
< #     from MySQLdb.cursors import SSDictCursor as MySQLSSDictCursor
< # except ImportError as e:
< #     warn(D_DATASET, 'Unable to import MySQL: {0}'.format(e))
---
> try:
>     from MySQLdb import connect as MySQLConnect
>     from MySQLdb.cursors import SSDictCursor as MySQLSSDictCursor
> except ImportError as e:
>     warn(D_DATASET, 'Unable to import MySQL: {0}'.format(e))