minor refactoring

This commit is contained in:
Miroslav Stampar 2010-05-21 09:45:47 +00:00
parent 68e13c3872
commit 10be39fc99

View File

@ -76,10 +76,10 @@ def main():
try:
init(cmdLineOptions)
if not conf.profile:
start()
else:
if conf.profile:
profile()
else:
start()
except exceptionsTuple, e:
e = str(e)
logger.error(e)