summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/uuid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/uuid.py b/Lib/uuid.py
index 7705a8a..9946042 100644
--- a/Lib/uuid.py
+++ b/Lib/uuid.py
@@ -321,9 +321,9 @@ def _find_mac(command, args, hw_identifiers, get_index):
return None
try:
- # LC_MESSAGES to get English output, 2>/dev/null to
+ # LC_ALL to ensure English output, 2>/dev/null to
# prevent output on stderr
- cmd = 'LC_MESSAGES=C %s %s 2>/dev/null' % (executable, args)
+ cmd = 'LC_ALL=C %s %s 2>/dev/null' % (executable, args)
with os.popen(cmd) as pipe:
for line in pipe:
words = line.lower().split()