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: try:
init(cmdLineOptions) init(cmdLineOptions)
if not conf.profile: if conf.profile:
start()
else:
profile() profile()
else:
start()
except exceptionsTuple, e: except exceptionsTuple, e:
e = str(e) e = str(e)
logger.error(e) logger.error(e)