diff options
Diffstat (limited to 'g_sorcery/fileutils.py')
-rw-r--r-- | g_sorcery/fileutils.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/g_sorcery/fileutils.py b/g_sorcery/fileutils.py index 24ad8e1..f444f4a 100644 --- a/g_sorcery/fileutils.py +++ b/g_sorcery/fileutils.py @@ -24,7 +24,8 @@ from .serialization import JSONSerializer, deserializeHook class FileJSON(object): """ - Class for JSON files. + Class for JSON files. Supports custom JSON serialization + provided by g_sorcery.serialization. """ def __init__(self, directory, name, mandatories=[]): """ @@ -110,6 +111,7 @@ def wget(uri, directory, output=""): Args: uri: URI. directory: Directory where file should be saved. + output: Name of output file. Returns: Nonzero in case of a failure. @@ -125,6 +127,9 @@ def get_pkgpath(root = None): """ Get package path. + Args: + root: module file path + Returns: Package path. """ |