summaryrefslogtreecommitdiff
path: root/src/leap/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/config')
-rw-r--r--src/leap/config/baseconfig.py4
-rw-r--r--src/leap/config/prefixers.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/leap/config/baseconfig.py b/src/leap/config/baseconfig.py
index 538a47f0..90529042 100644
--- a/src/leap/config/baseconfig.py
+++ b/src/leap/config/baseconfig.py
@@ -69,7 +69,7 @@ class BaseConfig:
@param standalone: if True it will return the prefix for a
standalone application. Otherwise, it will return the system
default for configuration storage.
- @param type: bool
+ @type standalone: bool
"""
return get_platform_prefixer().get_path_prefix(standalone=standalone)
@@ -147,7 +147,7 @@ class LocalizedKey(object):
informs the problem and returns an empty string
@param lang: language code
- @param type: str
+ @type lang: str
@return: localized value from the possible values returned by
self._func
diff --git a/src/leap/config/prefixers.py b/src/leap/config/prefixers.py
index 20d59b2d..64c36908 100644
--- a/src/leap/config/prefixers.py
+++ b/src/leap/config/prefixers.py
@@ -42,7 +42,7 @@ class Prefixer:
@param standalone: if True it will return the prefix for a
standalone application. Otherwise, it will return the system
default for configuration storage.
- @param type: bool
+ @type standalone: bool
"""
return ""
@@ -68,7 +68,7 @@ class LinuxPrefixer(Prefixer):
@param standalone: if True it will return the prefix for a
standalone application. Otherwise, it will return the system
default for configuration storage.
- @param type: bool
+ @type standalone: bool
"""
config_dir = BaseDirectory.xdg_config_home
if not standalone: