diff options
| author | Mike Frysinger <vapier@google.com> | 2020-02-16 12:02:01 -0500 |
|---|---|---|
| committer | Mike Frysinger <vapier@google.com> | 2020-02-19 18:11:57 +0000 |
| commit | 19ec797f8173cdd7a95d91306c5a8c96832e16e0 (patch) | |
| tree | 285a63f5e56b08577abca411fa31829a1c1dec7e | |
| parent | 979d5bdc3ebe45998a76dbbaff46c33d4e59683b (diff) | |
| download | git-repo-19ec797f8173cdd7a95d91306c5a8c96832e16e0.tar.gz | |
repo: reexec into Python 3 under Windows
Hopefully enough issues should be resolved now that we can start
forcing Windows users into Python 3 too.
Change-Id: Ic4aad6a0b35ffec7d1372e3da6fca11a2b6fde0b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255353
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Mike Frysinger <vapier@google.com>
| -rwxr-xr-x | repo | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -105,9 +105,7 @@ def check_python_version(): | |||
| 105 | 105 | ||
| 106 | 106 | ||
| 107 | if __name__ == '__main__': | 107 | if __name__ == '__main__': |
| 108 | # TODO(vapier): Enable this on Windows once we have Python 3 issues fixed. | 108 | check_python_version() |
| 109 | if platform.system() != 'Windows': | ||
| 110 | check_python_version() | ||
| 111 | 109 | ||
| 112 | 110 | ||
| 113 | # repo default configuration | 111 | # repo default configuration |
| @@ -134,7 +132,7 @@ if not REPO_REV: | |||
| 134 | # limitations under the License. | 132 | # limitations under the License. |
| 135 | 133 | ||
| 136 | # increment this whenever we make important changes to this script | 134 | # increment this whenever we make important changes to this script |
| 137 | VERSION = (2, 3) | 135 | VERSION = (2, 4) |
| 138 | 136 | ||
| 139 | # increment this if the MAINTAINER_KEYS block is modified | 137 | # increment this if the MAINTAINER_KEYS block is modified |
| 140 | KEYRING_VERSION = (2, 3) | 138 | KEYRING_VERSION = (2, 3) |
