From 82a49f8d29c908461b01c93d1fc927d7ffb6325a Mon Sep 17 00:00:00 2001 From: kylev Date: Tue, 24 Feb 2009 02:53:46 +0000 Subject: [PATCH] We missed one more 2.6-warning generating exception --- MySQLdb/MySQLdb/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MySQLdb/MySQLdb/__init__.py b/MySQLdb/MySQLdb/__init__.py index 7bfac1d..1ee2012 100644 --- a/MySQLdb/MySQLdb/__init__.py +++ b/MySQLdb/MySQLdb/__init__.py @@ -19,8 +19,8 @@ from release import __version__, version_info, __author__ import _mysql if version_info != _mysql.version_info: - raise ImportError, "this is MySQLdb version %s, but _mysql is version %r" %\ - (version_info, _mysql.version_info) + raise ImportError("this is MySQLdb version %s, but _mysql is version %r" % + (version_info, _mysql.version_info)) threadsafety = 1 apilevel = "2.0"