Parses the knowledge base htmlFp list and return its values formatted as a human readable string. @return: list of possible back-end DBMS based upon error messages parsing. @rtype: C{str}
()
| 264 | |
| 265 | @staticmethod |
| 266 | def getErrorParsedDBMSes(): |
| 267 | """ |
| 268 | Parses the knowledge base htmlFp list and return its values |
| 269 | formatted as a human readable string. |
| 270 | |
| 271 | @return: list of possible back-end DBMS based upon error messages |
| 272 | parsing. |
| 273 | @rtype: C{str} |
| 274 | """ |
| 275 | |
| 276 | htmlParsed = None |
| 277 | |
| 278 | if len(kb.htmlFp) == 0 or kb.heuristicTest != HEURISTIC_TEST.POSITIVE: |
| 279 | pass |
| 280 | elif len(kb.htmlFp) == 1: |
| 281 | htmlParsed = kb.htmlFp[0] |
| 282 | elif len(kb.htmlFp) > 1: |
| 283 | htmlParsed = " or ".join(kb.htmlFp) |
| 284 | |
| 285 | return htmlParsed |
| 286 | |
| 287 | @staticmethod |
| 288 | def getOs(target, info): |
no outgoing calls
no test coverage detected