summaryrefslogtreecommitdiffstats
path: root/subcmds
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
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')
-rw-r--r--subcmds/forall.py3
-rw-r--r--subcmds/gitc_init.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py
index dbf26f0b..d0e51920 100644
--- a/subcmds/forall.py
+++ b/subcmds/forall.py
@@ -127,7 +127,8 @@ without iterating through the remaining projects.
127 help="Execute the command only on projects matching regex or wildcard expression") 127 help="Execute the command only on projects matching regex or wildcard expression")
128 p.add_option('-i', '--inverse-regex', 128 p.add_option('-i', '--inverse-regex',
129 dest='inverse_regex', action='store_true', 129 dest='inverse_regex', action='store_true',
130 help="Execute the command only on projects not matching regex or wildcard expression") 130 help="Execute the command only on projects not matching regex or "
131 "wildcard expression")
131 p.add_option('-g', '--groups', 132 p.add_option('-g', '--groups',
132 dest='groups', 133 dest='groups',
133 help="Execute the command only on projects matching the specified groups") 134 help="Execute the command only on projects matching the specified groups")
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)