testLazyImport: fix PYTHONPATH setting
authorZac Medico <zmedico@gentoo.org>
Fri, 26 Aug 2011 05:47:45 +0000 (22:47 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 26 Aug 2011 05:47:45 +0000 (22:47 -0700)
pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py

index 08ccfa7ffa802c9b54955f1b127097dfad5c6a24..c7ebbaff9214a95fc15e2605e01ddf6be6c7e42a 100644 (file)
@@ -45,7 +45,7 @@ sys.stdout.write(" ".join(k for k in sys.modules
                else:
                        pythonpath = ':' + pythonpath
                pythonpath = PORTAGE_PYM_PATH + pythonpath
-               env[pythonpath] = pythonpath
+               env['PYTHONPATH'] = pythonpath
 
                # If python is patched to insert the path of the
                # currently installed portage module into sys.path,