Fixed issue 557

This commit is contained in:
Nick Bolton 2010-06-19 18:06:39 +00:00
parent 640bf83001
commit 000de01981
1 changed files with 2 additions and 2 deletions

View File

@ -642,9 +642,9 @@ class CommandHandler:
def get_build_mode(self): def get_build_mode(self):
mode = None mode = None
for o, a in self.opts: for o, a in self.opts:
if o == ('-d', '--debug'): if o in ('-d', '--debug'):
mode = 'debug' mode = 'debug'
elif o == ('-r', '--release'): elif o in ('-r', '--release'):
mode = 'release' mode = 'release'
return mode return mode