Changeset 96b381


Ignore:
Timestamp:
04/28/2009 03:59:56 PM (16 years ago)
Author:
Damien Churchill <damoc@gmail.com>
Branches:
2.0.x, develop, extjs4-port, master
Children:
e856e6
Parents:
b4e56e
Message:

add a doc string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • deluge/ui/web/json_api.py

    rb4e56e r96b381  
    362362   
    363363    @export
    364     def get_torrent_files(self, torrent_id):       
     364    def get_torrent_files(self, torrent_id):
     365        """
     366        Gets the files for a torrent in tree format
     367       
     368        :param torrent_id: string, the id of the torrent to retrieve.
     369        :returns: The torrents files in a tree
     370        :rtype: dict
     371        """
    365372        main_deferred = Deferred()       
    366373        d = client.core.get_torrent_status(torrent_id, FILES_KEYS)       
Note: See TracChangeset for help on using the changeset viewer.