569
568
if argv[idx][:1] != '-':
571
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')
574
577
get_unicode_argv = None