Skip to content

Commit a9f3f6d

Browse files
author
y-p
committed
BLD: ci/print_versions.py, LC_ALL/LANG should default to None
1 parent 8aa1c64 commit a9f3f6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/print_versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import os
99
(sysname, nodename, release, version, machine) = os.uname()
1010
print("OS: %s %s %s %s" % (sysname, release, version,machine))
11-
print("LC_ALL: %s" % os.environ['LC_ALL'])
12-
print("LANG: %s" % os.environ['LANG'])
11+
print("LC_ALL: %s" % os.environ.get('LC_ALL',"None"))
12+
print("LANG: %s" % os.environ.get('LANG',"None"))
1313
except:
1414
pass
1515

0 commit comments

Comments
 (0)