summaryrefslogtreecommitdiffstats
path: root/subcmds/gitc_init.py
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2020-02-13 13:17:03 +0900
committerDavid Pursehouse <dpursehouse@collab.net>2020-02-13 04:54:10 +0000
commit3cda50a41b1a950d70be8887c5efe3735586d1bb (patch)
tree35c40d0981784c2a1facb4a3fd62d99d53d8ae2f /subcmds/gitc_init.py
parentafbccdb11e3aad56ba9b07f4321ec4752a0edb93 (diff)
downloadgit-repo-3cda50a41b1a950d70be8887c5efe3735586d1bb.tar.gz
pyflakes: Fix remaining "E501 line too long" warnings
We increased the max line length to 100 columns which got rid of the majority of these warnings, but there were still a few lines that exceeded 100 columns. Change-Id: Ib3372868ca2297f83073a14f91c8ae3df9d0d0e6 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254699 Tested-by: David Pursehouse <dpursehouse@collab.net> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/gitc_init.py')
-rw-r--r--subcmds/gitc_init.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py
index 378f9236..30a9f7a5 100644
--- a/subcmds/gitc_init.py
+++ b/subcmds/gitc_init.py
@@ -62,7 +62,8 @@ use for this GITC client.
62 def Execute(self, opt, args): 62 def Execute(self, opt, args):
63 gitc_client = gitc_utils.parse_clientdir(os.getcwd()) 63 gitc_client = gitc_utils.parse_clientdir(os.getcwd())
64 if not gitc_client or (opt.gitc_client and gitc_client != opt.gitc_client): 64 if not gitc_client or (opt.gitc_client and gitc_client != opt.gitc_client):
65 print('fatal: Please update your repo command. See go/gitc for instructions.', file=sys.stderr) 65 print('fatal: Please update your repo command. See go/gitc for instructions.',
66 file=sys.stderr)
66 sys.exit(1) 67 sys.exit(1)
67 self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(), 68 self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(),
68 gitc_client) 69 gitc_client)