eea / odfpy

API for OpenDocument in Python
GNU General Public License v2.0
311 stars 64 forks source link

sys.path.append(os.path.dirname(__file__)) breaks other packages #76

Open karech opened 6 years ago

karech commented 6 years ago

Some modules of ODF uses this line: sys.path.append(os.path.dirname(__file__)) example

This adds ALL modules of ODF to global python visibility. This is very bad, because names of modules like config.py, form.py can be used by other packages and this breaks them.