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

« back to all changes in this revision

Viewing changes to services/python-console

  • Committer: Matt Giuca
  • Date: 2010-02-18 08:51:18 UTC
  • Revision ID: matt.giuca@gmail.com-20100218085118-qvsfcg6yq7tynf0t
ivle.interpret: Fixed calls to Popen: Unicode strings are encoded as UTF-8. This fixes serve of non-executable files, but serve-of-python, diff, log and download still break on files with a unicode filename.

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:
 
402
        except (TypeError, cPickle.PicklingError):
403
403
            try:
404
404
                o_type = type(object[o]).__name__
405
405
                o_name = object[o].__name__