Fix importing of module files
Make module files correctly be scanned for imports Change-Id: I3b1e5987d7d5f97cd4d569eb32f807e6bb89c58c Fixes: bug 1235507
This commit is contained in:
		| @@ -395,9 +395,8 @@ def _build_dependency_tree(): | ||||
|                 if segments: | ||||
|                     mod_name = _join_mod(*segments) | ||||
|                     root_mods[mod_name] = os.path.join(dirpath, filename) | ||||
|             else: | ||||
|                 filepath = os.path.join(dirpath, filename) | ||||
|                 file_paths.append((filepath, mod_name)) | ||||
|             filepath = os.path.join(dirpath, filename) | ||||
|             file_paths.append((filepath, mod_name)) | ||||
|     # Analyze the individual files dependencies after we know exactly what the | ||||
|     # modules are so that we can find those modules if a individual file | ||||
|     # imports a module instead of a file. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Joshua Harlow
					Joshua Harlow