Changeset 1195 for trunk/bindings/python


Ignore:
Timestamp:
04/02/09 22:00:42 (3 years ago)
Author:
Peter Peterson
Message:

Fixed bug in calculating how many levels to go up and down in openpath. Refs #101.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/nxs/napi.py

    r1191 r1195  
    488488        up = [] 
    489489        down = [] 
    490         for i,name in enumerate(target): 
     490        for (i, (name, nxclass)) in enumerate(target): 
    491491            if i == len(self._path): 
    492492                #print "target longer than current" 
Note: See TracChangeset for help on using the changeset viewer.