move CachedModule and get_sys_path from builtin.py to modules.py

This commit is contained in:
David Halter committed 2013-02-05 17:17:10 +01:00
1 parent 1474dcb91c
commit e6352ae0a2
3 files changed
+53 -55

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ class ImportPath(pr.Base):
sys_path_mod = list(self.sys_path_with_modifications())
sys_path_mod.insert(0, self.file_path)
else:
sys_path_mod = list(builtin.get_sys_path())
sys_path_mod = list(modules.get_sys_path())
current_namespace = (None, None, None)
# now execute those paths