diff src/core/sat_main.py @ 909:fab49a1d5ea2

core: minor docstring fixes
author Goffi <goffi@goffi.org>
date Fri, 21 Mar 2014 15:03:51 +0100
parents 308a96bc7c1b
children 1a3ba959f0ab
line wrap: on
line diff
--- a/src/core/sat_main.py	Tue Mar 18 13:52:12 2014 +0100
+++ b/src/core/sat_main.py	Fri Mar 21 15:03:51 2014 +0100
@@ -541,9 +541,8 @@
         return treatments
 
     def sendAndStoreMessage(self, mess_data, skip_send=False, profile=None):
-        """Actually send and store the message to history, after all the treatments
-        have been done. This has been moved outside the main sendMessage method
-        because it is used by XEP-0033 to complete a server-side feature not yet
+        """Actually send and store the message to history, after all the treatments have been done.
+        This has been moved outside the main sendMessage method because it is used by XEP-0033 to complete a server-side feature not yet
         implemented by the prosody plugin.
         @param mess_data: message data dictionary
         @param skip_send: set to True to skip sending the message to only store it
@@ -646,10 +645,10 @@
         """Discover if a server or its items offer a given feature
         @param feature: the feature to check
         @param jid_: the jid of the server, local server if None
-        @param cache_only: expect the result to be in cache and don't actually
-        make any request. This can be used anytime for requesting a feature on
-        the local server because the data are cached for sure.
+        @param cache_only: expect the result to be in cache and don't actually make any request.
+                           This can be used anytime for requesting a feature on the local server because the data are cached for sure.
         @result: the Deferred entity jid offering the feature, or None
+
         """
         profile = self.memory.getProfileName(profile_key)