summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-01-01 08:42:31 -0500
committerMike Frysinger <vapier@google.com>2021-01-06 18:53:05 +0000
commit784ccfc040dc8efa1a64d3c7d4070b66beb15d08 (patch)
tree6b144ebd88853d04ea270d14151d27f04e122730 /main.py
parent1379a9b1851e203611c490218fe62ef808a7d0ae (diff)
downloadgit-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-xmain.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.py b/main.py
index ebfa6524..cd0b8620 100755
--- a/main.py
+++ b/main.py
@@ -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
21which takes care of execing this entry point. 20which takes care of execing this entry point.
22""" 21"""
23 22
24from __future__ import print_function
25import getpass 23import getpass
26import netrc 24import netrc
27import optparse 25import optparse