Show
Ignore:
Timestamp:
02/21/06 00:37:45 (19 years ago)
Author:
jerome
Message:

Doesn't delete anymore entries which don't exist.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkprinters

    r2716 r2723  
    134134            nbtotal = len(todelete) 
    135135            for i in range(nbtotal) : 
    136                 todelete[i].delete() 
     136                entry = todelete[i] 
     137                if entry.Exists : 
     138                    entry.delete() 
    137139                percent = 100.0 * float(i) / float(nbtotal) 
    138140                self.display("\r%.02f%%" % percent)