Show More
@@ -196,7 +196,7 def raw_input_multi(header='', ps1='==> ', ps2='..> ',terminate_str = '.'): | |||||
196 |
|
196 | |||
197 | return lines[:-1] # don't return the termination command |
|
197 | return lines[:-1] # don't return the termination command | |
198 | except EOFError: |
|
198 | except EOFError: | |
199 |
|
199 | print() | ||
200 | return lines |
|
200 | return lines | |
201 |
|
201 | |||
202 |
|
202 | |||
@@ -232,7 +232,7 def ask_yes_no(prompt,default=None): | |||||
232 | except EOFError: |
|
232 | except EOFError: | |
233 | if default in answers.keys(): |
|
233 | if default in answers.keys(): | |
234 | ans = default |
|
234 | ans = default | |
235 |
|
235 | print() | ||
236 | else: |
|
236 | else: | |
237 | raise |
|
237 | raise | |
238 |
|
238 |
General Comments 0
You need to be logged in to leave comments.
Login now