Changeset 553

Show
Ignore:
Timestamp:
02/18/07 14:33:30 (2 years ago)
Author:
nicfit
Message:

Handle SystemExit?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main.py

    r551 r553  
    428428        mesk.log.error('%s' % str(ex)) 
    429429        retval = 1 
     430    except SystemExit, ex: 
     431        retval = int(str(ex)) 
     432        mesk.log.debug('Caught SystemExit: %s' % retval) 
    430433    except Exception, ex: 
    431434        import dialogs