mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 16:38:43 +00:00
Couple more tweaks to the docstrings
This commit is contained in:
parent
0fa403929a
commit
0ca5a10d5e
1 changed files with 9 additions and 2 deletions
|
@ -33,6 +33,11 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
"""
|
||||||
|
The ui common module contains methods and classes that are deemed useful for
|
||||||
|
all the interfaces.
|
||||||
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import urlparse
|
import urlparse
|
||||||
|
@ -211,7 +216,8 @@ class FileTree(object):
|
||||||
"""
|
"""
|
||||||
Convert a list of paths in a file tree.
|
Convert a list of paths in a file tree.
|
||||||
|
|
||||||
:param paths: list, The paths to be converted.
|
:param paths: The paths to be converted.
|
||||||
|
:type paths: list
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, paths):
|
def __init__(self, paths):
|
||||||
|
@ -286,7 +292,8 @@ def get_localhost_auth():
|
||||||
"""
|
"""
|
||||||
Grabs the localclient auth line from the 'auth' file and creates a localhost uri
|
Grabs the localclient auth line from the 'auth' file and creates a localhost uri
|
||||||
|
|
||||||
:returns: tuple, with the username and password to login as
|
:returns: with the username and password to login as
|
||||||
|
:rtype: tuple
|
||||||
"""
|
"""
|
||||||
auth_file = deluge.configmanager.get_config_dir("auth")
|
auth_file = deluge.configmanager.get_config_dir("auth")
|
||||||
if os.path.exists(auth_file):
|
if os.path.exists(auth_file):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue