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:
|
||||
return env[k]
|
||||
except KeyError:
|
||||
try:
|
||||
return env[k.lower()]
|
||||
except KeyError:
|
||||
for k, v in env.items():
|
||||
print(f'{k}={v}', file=sys.stderr)
|
||||
raise
|
||||
|
||||
return {
|
||||
k: g(k)
|
||||
|
Loading…
x
Reference in New Issue
Block a user