372 Private method to process the documentation sent by the client. |
372 Private method to process the documentation sent by the client. |
373 |
373 |
374 @param result dictionary containing the result sent by the client |
374 @param result dictionary containing the result sent by the client |
375 @type dict |
375 @type dict |
376 """ |
376 """ |
|
377 docu = None |
|
378 |
377 if "Error" not in result: |
379 if "Error" not in result: |
378 documentationDict = result["DocumentationDict"] |
380 documentationDict = result["DocumentationDict"] |
379 if "module" in documentationDict: |
381 if documentationDict: |
380 documentationDict["note"] = \ |
382 if "module" in documentationDict: |
381 self.tr("Present in {0} module").format( |
383 documentationDict["note"] = \ |
382 documentationDict["module"]) |
384 self.tr("Present in {0} module").format( |
383 del documentationDict["module"] |
385 documentationDict["module"]) |
384 docu = documentationDict |
386 del documentationDict["module"] |
385 else: |
387 docu = documentationDict |
386 docu = None |
|
387 |
388 |
388 self.__documentationViewer.documentationReady(docu) |
389 self.__documentationViewer.documentationReady(docu) |
389 |
390 |
390 ####################################################################### |
391 ####################################################################### |
391 ## Methods below handle the network connection |
392 ## Methods below handle the network connection |