-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Compatibility issues for Python 2 runs (#140)
* 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. * Fix: Compatibility issue with string formatting Remove the usage of f-strings.
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters