diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-05-07 16:08:55 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-05-07 16:08:55 -0300 |
commit | 4cc3c7d3f0d63d97df0d40c3e2d0941c5e069eb9 (patch) | |
tree | dfabf2a91cd8466b572539b73d38273eef733339 /src/leap/util/privilege_policies.py | |
parent | 76641e028f4a8b6c5c89ad0e9ff4bfecc075d678 (diff) | |
parent | e6b7d52d827109d6fc8d79a28e8d46964e1ad94c (diff) |
Merge remote-tracking branch 'kali/feature/update-docs' into develop
Diffstat (limited to 'src/leap/util/privilege_policies.py')
-rw-r--r-- | src/leap/util/privilege_policies.py | 6 |
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) |