aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar skullydazed <skullydazed@users.noreply.github.com>2019-08-07 12:00:46 -0700
committerGravatar GitHub <noreply@github.com>2019-08-07 12:00:46 -0700
commit3cb28bbe42a942275d3cbe530af6db4d72a37965 (patch)
treedd23c0814973d58a898e9406ea5f830a87e8024b /bin
parent74d7d232e316b52c0d02eec3c8147166c5b272aa (diff)
downloadqmk_firmware-3cb28bbe42a942275d3cbe530af6db4d72a37965.tar.gz
Use the older `universal_newlines` name instead of `text` (#6506)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/qmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/qmk b/bin/qmk
index c34365bed..dfd31e200 100755
--- a/bin/qmk
+++ b/bin/qmk
@@ -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()