Raise an error if _GTKWINCONFIG is not set
This commit is contained in:
parent
c37e5873d8
commit
2d441aa860
@ -6,6 +6,7 @@ _gtkwinbuildroot = os.environ['_GTKWINBUILDROOT']
|
||||
|
||||
_gtkwinconfig = os.environ.get('_GTKWINCONFIG')
|
||||
if _gtkwinconfig is None:
|
||||
raise RuntimeError()
|
||||
_gtkwinconfig = 'release'
|
||||
else:
|
||||
_gtkwinconfig = _gtkwinconfig.lower()
|
||||
|
Loading…
x
Reference in New Issue
Block a user