forked from mirrors/nixpkgs
14 lines
534 B
Diff
14 lines
534 B
Diff
diff --git a/click/_unicodefun.py b/click/_unicodefun.py
|
|
index 620edff..85a3c98 100644
|
|
--- a/click/_unicodefun.py
|
|
+++ b/click/_unicodefun.py
|
|
@@ -63,7 +63,7 @@ def _verify_python3_env():
|
|
if os.name == 'posix':
|
|
import subprocess
|
|
try:
|
|
- rv = subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE,
|
|
+ rv = subprocess.Popen(['@locale@', '-a'], stdout=subprocess.PIPE,
|
|
stderr=subprocess.PIPE).communicate()[0]
|
|
except OSError:
|
|
rv = b''
|