diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-11-22 10:25:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-11-22 10:25:35 +0000 |
| commit | 4534120628a8e3a7f82063757bbcb02107dd14d8 (patch) | |
| tree | 00a2db8cd8e57988a060ef76b0e5ceac54ab8709 | |
| parent | cbc0798f67b56b96f2bb6eac701b019d9bfd5e19 (diff) | |
| parent | 5d6cb80b8fb67f287c2f2401c55b340b3ac2fd93 (diff) | |
| download | git-repo-4534120628a8e3a7f82063757bbcb02107dd14d8.tar.gz | |
Merge "Allow using repo with python3"
| -rwxr-xr-x | repo | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -138,10 +138,9 @@ def _print(*objects, **kwargs): | |||
| 138 | # Python version check | 138 | # Python version check |
| 139 | ver = sys.version_info | 139 | ver = sys.version_info |
| 140 | if ver[0] == 3: | 140 | if ver[0] == 3: |
| 141 | _print('error: Python 3 support is not fully implemented in repo yet.\n' | 141 | _print('warning: Python 3 support is currently experimental. YMMV.\n' |
| 142 | 'Please use Python 2.6 - 2.7 instead.', | 142 | 'Please use Python 2.6 - 2.7 instead.', |
| 143 | file=sys.stderr) | 143 | file=sys.stderr) |
| 144 | sys.exit(1) | ||
| 145 | if (ver[0], ver[1]) < MIN_PYTHON_VERSION: | 144 | if (ver[0], ver[1]) < MIN_PYTHON_VERSION: |
| 146 | _print('error: Python version %s unsupported.\n' | 145 | _print('error: Python version %s unsupported.\n' |
| 147 | 'Please use Python 2.6 - 2.7 instead.' | 146 | 'Please use Python 2.6 - 2.7 instead.' |
