diff options
| author | skullydazed <skullydazed@users.noreply.github.com> | 2019-08-07 12:00:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-07 12:00:46 -0700 |
| commit | 3cb28bbe42a942275d3cbe530af6db4d72a37965 (patch) | |
| tree | dd23c0814973d58a898e9406ea5f830a87e8024b /bin | |
| parent | 74d7d232e316b52c0d02eec3c8147166c5b272aa (diff) | |
| download | qmk_firmware-3cb28bbe42a942275d3cbe530af6db4d72a37965.tar.gz qmk_firmware-3cb28bbe42a942275d3cbe530af6db4d72a37965.zip | |
Use the older `universal_newlines` name instead of `text` (#6506)
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/qmk | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -38,7 +38,7 @@ with open('requirements.txt', 'r') as fd: | |||
| 38 | 38 | ||
| 39 | # Figure out our version | 39 | # Figure out our version |
| 40 | command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags'] | 40 | command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags'] |
| 41 | result = subprocess.run(command, text=True, capture_output=True) | 41 | result = subprocess.run(command, universal_newlines=True, capture_output=True) |
| 42 | 42 | ||
| 43 | if result.returncode == 0: | 43 | if result.returncode == 0: |
| 44 | os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip() | 44 | os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip() |
