From 31b9b4b06cdb778b74165e60408eedad8cfb5b2a Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 13 Feb 2020 08:20:14 +0900 Subject: [PATCH] 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 Tested-by: David Pursehouse --- repo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repo b/repo index 5dd4b784..e74c01e1 100755 --- a/repo +++ b/repo @@ -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.