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/pkusers

    r2719 r2723  
    170170            nbtotal = len(todelete) 
    171171            for i in range(nbtotal) : 
    172                 todelete[i].delete() 
     172                entry = todelete[i] 
     173                if entry.Exists : 
     174                    entry.delete() 
    173175                percent = 100.0 * float(i) / float(nbtotal) 
    174176                self.display("\r%.02f%%" % percent)