Changeset 26373


Ignore:
Timestamp:
07/30/21 19:22:15 (4 years ago)
Author:
schlegel
Message:

BUG: organizer not checking correct string value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/organizer.py

    r25123 r26373  
    117117            return md
    118118
    119     #If we are here, the model has not been found. Try trunk prefix if provided
     119        #If we are here, the model has not been found. Try trunk prefix if provided
    120120        if self.trunkprefix:
    121121            path2 = os.path.join(self.repository, self.trunkprefix + string)
     
    153153            print(("   step  #%i : %s" % (self.steps[self._currentstep - 1]['id'], self.steps[self._currentstep - 1]['string'])))
    154154
    155     #Ok, now if _currentstep is a member of steps, return true
     155        #Ok, now if _currentstep is a member of steps, return true
    156156        if self._currentstep in self.requestedsteps:
    157157            print(("\n   step  #%i : %s\n" % (self.steps[self._currentstep - 1]['id'], self.steps[self._currentstep - 1]['string'])))
     
    159159
    160160            #last check: is this step locked?
    161             s = self.steps[self._currentstep].string
     161                                s = self.steps[self._currentstep - 1]['string']
    162162            if len(s) > 7:
    163163                if s[-6:] == 'Locked':
Note: See TracChangeset for help on using the changeset viewer.