diff options
author | Mike Frysinger <vapier@google.com> | 2021-01-01 08:42:31 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-01-06 18:53:05 +0000 |
commit | 784ccfc040dc8efa1a64d3c7d4070b66beb15d08 (patch) | |
tree | 6b144ebd88853d04ea270d14151d27f04e122730 /main.py | |
parent | 1379a9b1851e203611c490218fe62ef808a7d0ae (diff) | |
download | git-repo-784ccfc040dc8efa1a64d3c7d4070b66beb15d08.tar.gz |
strip python2-only coding:utf-8 & print_function settings
We're committed to Python 3 at this point, so clean up boilerplate.
Bug: https://crbug.com/gerrit/10418
Change-Id: Ib1719ba2eb65c53b94881a1a1bf203ddfcaaafed
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/292382
Reviewed-by: Chris Mcdonald <cjmcdonald@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1,5 +1,4 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # -*- coding:utf-8 -*- | ||
3 | # | 2 | # |
4 | # Copyright (C) 2008 The Android Open Source Project | 3 | # Copyright (C) 2008 The Android Open Source Project |
5 | # | 4 | # |
@@ -21,7 +20,6 @@ People shouldn't run this directly; instead, they should use the `repo` wrapper | |||
21 | which takes care of execing this entry point. | 20 | which takes care of execing this entry point. |
22 | """ | 21 | """ |
23 | 22 | ||
24 | from __future__ import print_function | ||
25 | import getpass | 23 | import getpass |
26 | import netrc | 24 | import netrc |
27 | import optparse | 25 | import optparse |