toolsutils.py
branchstable
changeset 4721 8f63691ccb7f
parent 4556 43c14e0e8972
child 5021 58e89f3dfbae
child 5324 449cc4fa9c42
equal deleted inserted replaced
4720:ddf4f19eb07a 4721:8f63691ccb7f
    80     diffs = pipe.stdout.read()
    80     diffs = pipe.stdout.read()
    81     if diffs:
    81     if diffs:
    82         if askconfirm:
    82         if askconfirm:
    83             print
    83             print
    84             print diffs
    84             print diffs
    85             action = ASK.ask('Replace ?', ('N','y','q'), 'N')
    85             action = ASK.ask('Replace ?', ('N', 'y', 'q'), 'N')
    86         else:
    86         else:
    87             action = 'y'
    87             action = 'y'
    88         if action == 'y':
    88         if action == 'y':
    89             try:
    89             try:
    90                 shutil.copyfile(ref_file, appl_file)
    90                 shutil.copyfile(ref_file, appl_file)