Fixing undefined variable reference error in setup_modules.py
PATCH 1/1 Fixing undefined variable reference error in setup_modules.py
Fix an undefined variable reference error inside client/setup_modules.py - just remove code that wasn't supposed to be there.
3rd try: After IRC chat and investigation, this is a best fix than my previous patch that tried to accomplish the same fix.
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>
--- client/setup_modules.py | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-)
client/setup_modules.py +0 -8
@@ -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*
Signature · 1 line
1.6.2.5