diff options
Diffstat (limited to 'subcmds/gitc_init.py')
-rw-r--r-- | subcmds/gitc_init.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py index 378f9236..30a9f7a5 100644 --- a/subcmds/gitc_init.py +++ b/subcmds/gitc_init.py | |||
@@ -62,7 +62,8 @@ use for this GITC client. | |||
62 | def Execute(self, opt, args): | 62 | def Execute(self, opt, args): |
63 | gitc_client = gitc_utils.parse_clientdir(os.getcwd()) | 63 | gitc_client = gitc_utils.parse_clientdir(os.getcwd()) |
64 | if not gitc_client or (opt.gitc_client and gitc_client != opt.gitc_client): | 64 | if not gitc_client or (opt.gitc_client and gitc_client != opt.gitc_client): |
65 | print('fatal: Please update your repo command. See go/gitc for instructions.', file=sys.stderr) | 65 | print('fatal: Please update your repo command. See go/gitc for instructions.', |
66 | file=sys.stderr) | ||
66 | sys.exit(1) | 67 | sys.exit(1) |
67 | self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(), | 68 | self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(), |
68 | gitc_client) | 69 | gitc_client) |