migration.py
branchstable
changeset 4721 8f63691ccb7f
parent 4553 23201259ffeb
child 5027 d688daf0a62c
child 5421 8167de96c523
equal deleted inserted replaced
4720:ddf4f19eb07a 4721:8f63691ccb7f
   191     def confirm(self, question, shell=True, abort=True, retry=False, default='y'):
   191     def confirm(self, question, shell=True, abort=True, retry=False, default='y'):
   192         """ask for confirmation and return true on positive answer
   192         """ask for confirmation and return true on positive answer
   193 
   193 
   194         if `retry` is true the r[etry] answer may return 2
   194         if `retry` is true the r[etry] answer may return 2
   195         """
   195         """
   196         possibleanswers = ['y','n']
   196         possibleanswers = ['y', 'n']
   197         if abort:
   197         if abort:
   198             possibleanswers.append('abort')
   198             possibleanswers.append('abort')
   199         if shell:
   199         if shell:
   200             possibleanswers.append('shell')
   200             possibleanswers.append('shell')
   201         if retry:
   201         if retry: