From 3cb28bbe42a942275d3cbe530af6db4d72a37965 Mon Sep 17 00:00:00 2001
From: skullydazed <skullydazed@users.noreply.github.com>
Date: Wed, 7 Aug 2019 12:00:46 -0700
Subject: [PATCH] Use the older `universal_newlines` name instead of `text`
 (#6506)

---
 bin/qmk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/qmk b/bin/qmk
index c34365bed4..dfd31e2006 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()