Raise an error if _GTKWINCONFIG is not set

This commit is contained in:
Yevgen Muntyan 2012-08-09 23:33:42 -07:00
parent c37e5873d8
commit 2d441aa860

View File

@ -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()