diff options
author | skullydazed <skullydazed@users.noreply.github.com> | 2019-08-07 12:00:46 -0700 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-08-13 10:47:48 +0900 |
commit | 9e38863d6449e416709aa162e43d4d303d6e41b9 (patch) | |
tree | f1d8b33a086622026de2d6fae7e74a1e125081c8 /bin | |
parent | 1cb8fa3cdc1e1da80e072650891d699b535e3534 (diff) |
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() |