Revision 8fb8d0cf snf-astakos-app/distribute_setup.py

b/snf-astakos-app/distribute_setup.py
150 150
            e = sys.exc_info()[1]
151 151
            if was_imported:
152 152
                sys.stderr.write(
153
                    "The required version of distribute (>=%s) is not available,\n"
154
                    "and can't be installed while this script is running. Please\n"
153
                    "The required version of distribute (>=%s) is not "
154
                    "available,\n"
155
                    "and can't be installed while this script is running. "
156
                    "Please\n"
155 157
                    "install a more recent version first, using\n"
156 158
                    "'easy_install -U distribute'."
157 159
                    "\n\n(Currently using %r)\n" % (version, e.args[0]))
......
434 436
    log.warn('Relaunching...')
435 437
    # we have to relaunch the process
436 438
    # pip marker to avoid a relaunch bug
437
    if sys.argv[:3] == ['-c', 'install', '--single-version-externally-managed']:
439
    if sys.argv[:3] == ['-c', 'install',
440
                        '--single-version-externally-managed']:
438 441
        sys.argv[0] = 'setup.py'
439 442
    args = [sys.executable] + sys.argv
440 443
    sys.exit(subprocess.call(args))

Also available in: Unified diff