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 9a4f7118..697d6bec 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 == '': |
@@ -328,9 +326,9 @@ to update the working directory files. | |||
328 | self._ConfigureDepth(opt) | 326 | self._ConfigureDepth(opt) |
329 | 327 | ||
330 | if self.manifest.IsMirror: | 328 | if self.manifest.IsMirror: |
331 | type = 'mirror ' | 329 | init_type = 'mirror ' |
332 | else: | 330 | else: |
333 | type = '' | 331 | init_type = '' |
334 | 332 | ||
335 | print '' | 333 | print '' |
336 | print 'repo %sinitialized in %s' % (type, self.manifest.topdir) | 334 | print 'repo %sinitialized in %s' % (init_type, self.manifest.topdir) |