(self, search, ignoreLinesStartWith)
| 149 | return False |
| 150 | |
| 151 | def searchString(self, search, ignoreLinesStartWith): |
| 152 | found = False |
| 153 | logging.debug("Searching for %s string " % search) |
| 154 | |
| 155 | for index, line in enumerate(self.new_config): |
| 156 | if line.lstrip().startswith(ignoreLinesStartWith): |
| 157 | continue |
| 158 | if search in line: |
| 159 | found = True |
| 160 | break |
| 161 | |
| 162 | return found |
| 163 | |
| 164 | def deleteLine(self, search): |
| 165 | found = False |
no test coverage detected