/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Jason Spashett
  • Date: 2010-06-18 10:57:20 UTC
  • mto: This revision was merged to the branch mainline in revision 5315.
  • Revision ID: jason@spashett.com-20100618105720-xijod9h4riss3k11
Reverse merge -r 5280..5279

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
def get_unicode_argv():
101
101
    try:
102
102
        user_encoding = get_user_encoding()
103
 
        return [a.decode(user_encoding) for a in sys.argv]
 
103
        return [a.decode(user_encoding) for a in sys.argv[1:]]
104
104
    except UnicodeDecodeError:
105
105
        raise errors.BzrError(("Parameter '%r' is unsupported by the current "
106
106
                                                            "encoding." % a))