diff options
Diffstat (limited to 'subcmds/init.py')
| -rw-r--r-- | subcmds/init.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 9a9317e4..007667e2 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
| @@ -213,8 +213,6 @@ to update the working directory files. | |||
| 213 | sys.exit(1) | 213 | sys.exit(1) |
| 214 | 214 | ||
| 215 | def _Prompt(self, prompt, value): | 215 | def _Prompt(self, prompt, value): |
| 216 | mp = self.manifest.manifestProject | ||
| 217 | |||
| 218 | sys.stdout.write('%-10s [%s]: ' % (prompt, value)) | 216 | sys.stdout.write('%-10s [%s]: ' % (prompt, value)) |
| 219 | a = sys.stdin.readline().strip() | 217 | a = sys.stdin.readline().strip() |
| 220 | if a == '': | 218 | if a == '': |
| @@ -332,9 +330,9 @@ to update the working directory files. | |||
| 332 | self._ConfigureDepth(opt) | 330 | self._ConfigureDepth(opt) |
| 333 | 331 | ||
| 334 | if self.manifest.IsMirror: | 332 | if self.manifest.IsMirror: |
| 335 | type = 'mirror ' | 333 | init_type = 'mirror ' |
| 336 | else: | 334 | else: |
| 337 | type = '' | 335 | init_type = '' |
| 338 | 336 | ||
| 339 | print '' | 337 | print '' |
| 340 | print 'repo %sinitialized in %s' % (type, self.manifest.topdir) | 338 | print 'repo %sinitialized in %s' % (init_type, self.manifest.topdir) |
