| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Use "compat_getenv"
* "write_json_file" now expects the filename to be a string
|
|
|
|
|
|
|
| |
utils is large enough without these compatibility functions.
Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
|
|
|
|
|
|
| |
Fixes #3217, Fixes #2918)
Introduces compat versions of os.getenv and os.path.expanduser
|
| |
|
|
|