Changeset 54

Show
Ignore:
Timestamp:
02/08/04 18:58:13 (5 years ago)
Author:
ug
Message:

Avoid askyesno because of Python 2.3 problems

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 05/bugfix/kombilo.py

    r44 r54  
    29642964                                continue 
    29652965                            elif self.options.duplicateCheck.get() == 2: 
    2966                                 if askyesno('Duplicate', 'File ' +os.path.split(f)[1]+iColl\ 
    2967                                             + ' is the same as ' + ff + '. Include it?'): 
     2966                                if askokcancel('Duplicate', 'File ' +os.path.split(f)[1]+iColl\ 
     2967                                               + ' is the same as ' + ff + '. Include it?'): 
    29682968                                    messages.insert(END, 'Duplicate: ' + os.path.split(f)[1]+iColl\ 
    29692969                                                    + dupText + ff + '\n') 
     
    51955195                return 
    51965196            elif not os.path.exists(datap[0]): 
    5197                 if askyesno('Error', 'Directory ' + datap[0] + ' does not exist. Create it?'): 
     5197                if askokcancel('Error', 'Directory ' + datap[0] + ' does not exist. Create it?'): 
    51985198                    try: 
    51995199                        os.makedirs(datap[0])