Author: damoxc

Revision: 5633

Log:
        update the doc string for export

Diff:
Modified: trunk/deluge/ui/web/json_api.py
===================================================================
--- trunk/deluge/ui/web/json_api.py     2009-08-06 20:16:23 UTC (rev 5632)
+++ trunk/deluge/ui/web/json_api.py     2009-08-07 07:09:53 UTC (rev 5633)
@@ -65,8 +65,8 @@
 
 def export(auth_level=AUTH_LEVEL_DEFAULT):
     """
-    Decorator function to register an object's method as an RPC.  The object
-    will need to be registered with an `:class:RPCServer` to be effective.
+    Decorator function to register an object's method as a RPC. The object
+    will need to be registered with a `:class:JSON` to be effective.
 
     :param func: the function to export
     :type func: function
@@ -295,7 +295,8 @@
 class WebApi(JSONComponent):
     """
     The component that implements all the methods required for managing
-    the web interface.
+    the web interface. The complete web json interface also exposes all the
+    methods available from the core RPC.
     """
     
     def __init__(self):



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to