diff mbox

Fixing undefined variable reference error in setup_modules.py

Message ID 1254767138-11669-1-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues Oct. 5, 2009, 6:25 p.m. UTC
None
diff mbox

Patch

diff --git a/client/setup_modules.py b/client/setup_modules.py
index dc255c4..6f2ea30 100644
--- a/client/setup_modules.py
+++ b/client/setup_modules.py
@@ -86,14 +86,6 @@  def _autotest_logging_handle_error(self, record):
         traceback.print_stack()
         sys.stderr.write('Future logging formatting exceptions disabled.\n')
 
-    if root_module_name == 'autotest_lib':
-        # Allow locally installed third party packages to be found
-        # before any that are installed on the system itself when not.
-        # running as a client.
-        # This is primarily for the benefit of frontend and tko so that they
-        # may use libraries other than those available as system packages.
-        sys.path.insert(0, os.path.join(base_path, "site-packages"))
-
 
 def _monkeypatch_logging_handle_error():
     # Hack out logging.py*