NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

Changeset 163

Show
Ignore:
Timestamp:
04/10/08 19:17:23
Author:
cbc
Message:

Fix computation of differenceWalk when force-update in findMissing.py.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sodar/trunk/sodar/utils/findMissing.py

    r152 r163  
    8181                 for fileName in files] 
    8282     
    83     differenceWalk = [path 
    84                       for path 
    85                       in idealWalk 
    86                       if path not in destinationWalk] 
     83    if destinationWalk: 
     84        differenceWalk = [path 
     85                          for path 
     86                          in idealWalk 
     87                          if path not in destinationWalk] 
     88    else: 
     89        differenceWalk = idealWalk 
    8790     
    8891    differenceWalk = sorted(differenceWalk)