summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-10-09 14:29:46 -0700
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-10-09 14:29:46 -0700
commit3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63 (patch)
tree68ae5094d6530453887fb35a73fd5fa55f55a034 /subcmds/init.py
parent25f17682ca4ecd8acc887462d4bebc7c429cf110 (diff)
parent8a68ff96057ec58e524a3e41a2d8dca7b5d016bc (diff)
downloadgit-repo-3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63.tar.gz
Merge "Coding style cleanup"
Diffstat (limited to 'subcmds/init.py')
-rw-r--r--subcmds/init.py8
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)