simplify logic

This commit is contained in:
Ehsan Azarnasab 2015-08-21 13:56:34 -07:00
parent d1bafb5ae0
commit fd75d43efb

View File

@ -98,8 +98,7 @@ def _get_options():
_cmake_config = 'Debug'
elif opt == 'release':
_cmake_config = 'Release'
elif opt in ['debug', 'release',
'repackage']:
elif opt in ['repackage']:
_options.append(opt)
else:
custom_arg = False