~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-10 04:36:43 UTC
  • mto: This revision was merged to the branch mainline in revision 1398.
  • Revision ID: grantw@unimelb.edu.au-20091210043643-mifn2gtw0ias3pnx
In the Console wrapper, unpickle the exception into the original dict and return that, not just the exception.

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):