mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Dump envvars when failing to find one
This commit is contained in:
parent
a02ca85c20
commit
63cb92bb35
@ -134,7 +134,12 @@ def query_vcvarsall(is64bit=True):
|
|||||||
try:
|
try:
|
||||||
return env[k]
|
return env[k]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return env[k.lower()]
|
try:
|
||||||
|
return env[k.lower()]
|
||||||
|
except KeyError:
|
||||||
|
for k, v in env.items():
|
||||||
|
print(f'{k}={v}', file=sys.stderr)
|
||||||
|
raise
|
||||||
|
|
||||||
return {
|
return {
|
||||||
k: g(k)
|
k: g(k)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user