]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Use the older `universal_newlines` name instead of `text` (#6506)
authorskullydazed <skullydazed@users.noreply.github.com>
Wed, 7 Aug 2019 19:00:46 +0000 (12:00 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2019 19:00:46 +0000 (12:00 -0700)
bin/qmk

diff --git a/bin/qmk b/bin/qmk
index c34365bed43a901423b85169ba3610152ff09fc7..dfd31e20068c2e36be1a27047aac4baaa30cd6a3 100755 (executable)
--- 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()