summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-13 10:23:37 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-13 10:23:37 -0300
commit5e3c49e57cd87ba6cdd11cb9ef59333fbfe4d49b (patch)
tree7a9446715802b16239adf6e972d570d00ddbc848
parent12d2835c7d1f3c3d11eaa587b2196c104e6859e7 (diff)
Fix standalone type comments
-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: