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

« back to all changes in this revision

Viewing changes to services/python-console

  • Committer: William Grant
  • Date: 2009-07-05 08:57:26 UTC
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090705085726-w5aqfe833k3s3c0u
Add a breadcrumb generator (indexes plugins on what breadcrumbs they have).

Show diffs side-by-side

added added

removed removed

Lines of Context:
399
399
    for o in object:
400
400
        try:
401
401
            flat[o] = cPickle.dumps(object[o], PICKLEVERSION)
402
 
        except (TypeError, cPickle.PicklingError):
 
402
        except TypeError:
403
403
            try:
404
404
                o_type = type(object[o]).__name__
405
405
                o_name = object[o].__name__