~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Andrew Bennetts
  • Date: 2010-06-16 07:45:53 UTC
  • mto: This revision was merged to the branch mainline in revision 5299.
  • Revision ID: andrew.bennetts@canonical.com-20100616074553-d1z8ibry8lq759w2
Tweaks prompted by Robert's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
568
568
                if argv[idx][:1] != '-':
569
569
                    break
570
570
            argv = argv[idx+1:]
 
571
        # we should remove '--profile-imports' option as well (bug #588277)
 
572
        # see bzr script ~ line 54
 
573
        if '--profile-imports' in argv and '--profile-imports' not in sys.argv:
 
574
            argv.remove('--profile-imports')
571
575
        return argv
572
576
else:
573
577
    get_unicode_argv = None