Move all MySQLdb imports after the 'import common' so that a MySQLdb
package installed in our own site-packages directory will be found
before the system installed one.
Adds an empty site-packages directory with an explanation README.
Signed-off-by: Gregory Smith <gps@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2735 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/CODING_STYLE b/CODING_STYLE
index 7c655fe..c94b2d7 100644
--- a/CODING_STYLE
+++ b/CODING_STYLE
@@ -60,7 +60,8 @@
For example:
import os, pickle, random, re, select, shutil, signal, StringIO, subprocess
import sys, time, urllib, urlparse
-import MySQLdb
+import common # Magic autotest_lib module and sys.path setup code.
+import MySQLdb # After common so that we check our site-packages first.
from common_lib import error
Testing None