mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
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:
parent
0b57eed8f0
commit
31b9b4b06c
3
repo
3
repo
@ -205,6 +205,7 @@ gpg_dir = os.path.join(home_dot_repo, 'gnupg')
|
|||||||
extra_args = []
|
extra_args = []
|
||||||
init_optparse = optparse.OptionParser(usage="repo init -u url [options]")
|
init_optparse = optparse.OptionParser(usage="repo init -u url [options]")
|
||||||
|
|
||||||
|
|
||||||
def _InitParser():
|
def _InitParser():
|
||||||
"""Setup the init subcommand parser."""
|
"""Setup the init subcommand parser."""
|
||||||
# Logging.
|
# Logging.
|
||||||
@ -284,6 +285,7 @@ def _GitcInitOptions(init_optparse_arg):
|
|||||||
dest='gitc_client',
|
dest='gitc_client',
|
||||||
help='The name of the gitc_client instance to create or modify.')
|
help='The name of the gitc_client instance to create or modify.')
|
||||||
|
|
||||||
|
|
||||||
_gitc_manifest_dir = None
|
_gitc_manifest_dir = None
|
||||||
|
|
||||||
|
|
||||||
@ -424,6 +426,7 @@ def _Init(args, gitc_init=False):
|
|||||||
GitVersion = collections.namedtuple(
|
GitVersion = collections.namedtuple(
|
||||||
'GitVersion', ('major', 'minor', 'micro', 'full'))
|
'GitVersion', ('major', 'minor', 'micro', 'full'))
|
||||||
|
|
||||||
|
|
||||||
def ParseGitVersion(ver_str=None):
|
def ParseGitVersion(ver_str=None):
|
||||||
if ver_str is None:
|
if ver_str is None:
|
||||||
# Load the version ourselves.
|
# Load the version ourselves.
|
||||||
|
Loading…
Reference in New Issue
Block a user