diff options
-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. |