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