repo: Fix blank line issues reported by flake8

Change-Id: I62633e71a36b2acbd09e205447a02159dd334896
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254694
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: David Pursehouse <dpursehouse@collab.net>
This commit is contained in:
David Pursehouse 2020-02-13 08:20:14 +09:00
parent 0b57eed8f0
commit 31b9b4b06c

3
repo
View File

@ -205,6 +205,7 @@ gpg_dir = os.path.join(home_dot_repo, 'gnupg')
extra_args = []
init_optparse = optparse.OptionParser(usage="repo init -u url [options]")
def _InitParser():
"""Setup the init subcommand parser."""
# Logging.
@ -284,6 +285,7 @@ def _GitcInitOptions(init_optparse_arg):
dest='gitc_client',
help='The name of the gitc_client instance to create or modify.')
_gitc_manifest_dir = None
@ -424,6 +426,7 @@ def _Init(args, gitc_init=False):
GitVersion = collections.namedtuple(
'GitVersion', ('major', 'minor', 'micro', 'full'))
def ParseGitVersion(ver_str=None):
if ver_str is None:
# Load the version ourselves.