Get a routine from the library. Will add if it's not found.
(self, rname)
| 132 | self.getRoutine(rname) |
| 133 | |
| 134 | def getRoutine(self, rname): |
| 135 | """Get a routine from the library. Will add if it's not found. |
| 136 | """ |
| 137 | unique = [] |
| 138 | rname = rname.lower() |
| 139 | routine = self.names_to_routines.get(rname, unique) |
| 140 | if routine is unique: |
| 141 | routine = self._findRoutine(rname) |
| 142 | self.names_to_routines[rname] = routine |
| 143 | return routine |
| 144 | |
| 145 | def allRoutineNames(self): |
| 146 | """Return the names of all the routines. |
no test coverage detected