Permalink
Browse files

avoid referencing MySQLdb.connections in MySQLClient

  • Loading branch information...
1 parent b6a7bf9 commit 709491a28463097478c7e5d8d695a6ab0eeb259d @abg committed May 14, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 plugins/holland.lib.mysql/holland/lib/mysql/client/base.py
View
2 plugins/holland.lib.mysql/holland/lib/mysql/client/base.py
@@ -4,7 +4,6 @@
import re
import logging
import MySQLdb
-import MySQLdb.connections
MySQLError = MySQLdb.MySQLError
ProgrammingError = MySQLdb.ProgrammingError
@@ -414,7 +413,6 @@ class AutoMySQLClient(PassiveMySQLClient):
def __getattr__(self, key):
if self._connection is None:
- getattr(MySQLdb.connections.Connection, key)
LOG.info("Initiating connection to MySQL")
self.connect()

0 comments on commit 709491a

Please sign in to comment.