summaryrefslogtreecommitdiff
path: root/src/leap/util/privilege_policies.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-05-03 02:59:22 +0900
committerkali <kali@leap.se>2013-05-03 02:59:22 +0900
commit96eaddedd7f09fcbcc390aedd7078aeecfa4c885 (patch)
tree90cd8f5de56207be3a2863dfd728189339f2931c /src/leap/util/privilege_policies.py
parent90cac3e4a992a513db96b6c126fdd5259e881d0f (diff)
updated documentation
* documentation reviewed after rewrite, ready for 0.2.1 * updated docstrings format to fit sphinx autodoc
Diffstat (limited to 'src/leap/util/privilege_policies.py')
-rw-r--r--src/leap/util/privilege_policies.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/util/privilege_policies.py b/src/leap/util/privilege_policies.py
index e74c4d33..10224bcd 100644
--- a/src/leap/util/privilege_policies.py
+++ b/src/leap/util/privilege_policies.py
@@ -33,7 +33,7 @@ def is_missing_policy_permissions():
platform, or if the policy checker exists but it cannot find the
appropriate policy mechanisms in place.
- @rtype: bool
+ :rtype: bool
"""
_system = platform.system()
platform_checker = _system + "PolicyChecker"
@@ -60,7 +60,7 @@ class PolicyChecker:
Returns True if we could not find any policy mechanisms that
are defined to be in used for this particular platform.
- @rtype: bool
+ :rtype: bool
"""
return True
@@ -77,6 +77,6 @@ class LinuxPolicyChecker(PolicyChecker):
Returns True if we could not find the appropriate policykit file
in place
- @rtype: bool
+ :rtype: bool
"""
return not os.path.isfile(self.LINUX_POLKIT_FILE)