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 | firmware-3cb28bbe42a942275d3cbe530af6db4d72a37965.tar.gz firmware-3cb28bbe42a942275d3cbe530af6db4d72a37965.tar.bz2 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: # Figure out our version command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags'] -result = subprocess.run(command, text=True, capture_output=True) +result = subprocess.run(command, universal_newlines=True, capture_output=True) if result.returncode == 0: os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip() |