diff options
| author | David Pursehouse <dpursehouse@collab.net> | 2020-02-13 08:20:14 +0900 |
|---|---|---|
| committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-13 00:31:24 +0000 |
| commit | 31b9b4b06cdb778b74165e60408eedad8cfb5b2a (patch) | |
| tree | 4125f2f4468b07cdeed665053d2442f73fa656a5 | |
| parent | 0b57eed8f00d81047b1d4738e4dd52978fc2d4ff (diff) | |
| download | git-repo-31b9b4b06cdb778b74165e60408eedad8cfb5b2a.tar.gz | |
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>
| -rwxr-xr-x | repo | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -205,6 +205,7 @@ gpg_dir = os.path.join(home_dot_repo, 'gnupg') | |||
| 205 | extra_args = [] | 205 | extra_args = [] |
| 206 | init_optparse = optparse.OptionParser(usage="repo init -u url [options]") | 206 | init_optparse = optparse.OptionParser(usage="repo init -u url [options]") |
| 207 | 207 | ||
| 208 | |||
| 208 | def _InitParser(): | 209 | def _InitParser(): |
| 209 | """Setup the init subcommand parser.""" | 210 | """Setup the init subcommand parser.""" |
| 210 | # Logging. | 211 | # Logging. |
| @@ -284,6 +285,7 @@ def _GitcInitOptions(init_optparse_arg): | |||
| 284 | dest='gitc_client', | 285 | dest='gitc_client', |
| 285 | help='The name of the gitc_client instance to create or modify.') | 286 | help='The name of the gitc_client instance to create or modify.') |
| 286 | 287 | ||
| 288 | |||
| 287 | _gitc_manifest_dir = None | 289 | _gitc_manifest_dir = None |
| 288 | 290 | ||
| 289 | 291 | ||
| @@ -424,6 +426,7 @@ def _Init(args, gitc_init=False): | |||
| 424 | GitVersion = collections.namedtuple( | 426 | GitVersion = collections.namedtuple( |
| 425 | 'GitVersion', ('major', 'minor', 'micro', 'full')) | 427 | 'GitVersion', ('major', 'minor', 'micro', 'full')) |
| 426 | 428 | ||
| 429 | |||
| 427 | def ParseGitVersion(ver_str=None): | 430 | def ParseGitVersion(ver_str=None): |
| 428 | if ver_str is None: | 431 | if ver_str is None: |
| 429 | # Load the version ourselves. | 432 | # Load the version ourselves. |
