Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Encode the output file properly for Python 2 runs
Avoid compatibility errors with the `open(...)` function in Python 2 for setting the file's encoding. Sometimes in case an old architecture and `cms-sw` release is being used, a Python 2 interpreter is available for executing the `run_the_matrix_pdmv.py` module and there are compatibility issues with the encoding argument.
- Loading branch information