diff options
-rw-r--r-- | subcmds/init.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 75a58f11..4023ab6d 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -167,8 +167,9 @@ to update the working directory files. | |||
167 | 167 | ||
168 | print '' | 168 | print '' |
169 | print 'Your identity is: %s <%s>' % (name, email) | 169 | print 'Your identity is: %s <%s>' % (name, email) |
170 | sys.stdout.write('is this correct [yes/no]? ') | 170 | sys.stdout.write('is this correct [y/n]? ') |
171 | if 'yes' == sys.stdin.readline().strip(): | 171 | a = sys.stdin.readline().strip() |
172 | if a in ('yes', 'y', 't', 'true'): | ||
172 | break | 173 | break |
173 | 174 | ||
174 | if name != mp.UserName: | 175 | if name != mp.UserName: |