Fixes for MySQL-python==1.2.5
Merge pull request #390 from anandpdoshi/fixes-python-mysql

Fixes for MySQL-python==1.2.5