~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/console.py

  • Committer: William Grant
  • Date: 2009-12-15 00:40:49 UTC
  • Revision ID: me@williamgrant.id.au-20091215004049-xtwce2s7cs5fe6ry
Correctly handle exceptions when a console function is called by TestFramework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
              
298
298
        # Unpickle any exceptions
299
299
        if 'exception' in execute:
300
 
            return cPickle.loads(execute['exception'])
301
 
        else:
302
 
            return execute
 
300
            execute['exception'] = cPickle.loads(execute['exception'])
 
301
        return execute
303
302
 
304
303
 
305
304
    def set_vars(self, variables):