Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIRFLOW-443] Make module names unique when importing
Module names are normalized to "unusual_prefix_<filename>" in case of non-ZIP imports. If there are two modules with the same filename in a different directory they can overwrite each other. This is exhibited by the looking at the code from the web interface. This is fixed by using a hash of the filepath in the normalization. The hash is required to stay compatible with Python 2.
- Loading branch information