~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Daniel Watkins
  • Date: 2007-08-07 11:38:26 UTC
  • mto: (2765.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2766.
  • Revision ID: d.m.watkins@warwick.ac.uk-20070807113826-5b98xh1jcllm1frx
Updated as per poolie's !tweak.

Show diffs side-by-side

added added

removed removed

Lines of Context:
721
721
    try:
722
722
        argv = [a.decode(bzrlib.user_encoding) for a in argv[1:]]
723
723
    except UnicodeDecodeError:
724
 
        raise errors.BzrError(("Parameter '%s' is unsupported by the current "
 
724
        raise errors.BzrError(("Parameter '%r' is unsupported by the current "
725
725
                                                            "encoding." % a))
726
726
    ret = run_bzr_catch_errors(argv)
727
727
    trace.mutter("return code %d", ret)