diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-01-31 23:13:45 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-02-23 00:37:28 +0100 |
commit | 8fb76310e14a5893397894c6155ac7aa4f28e483 (patch) | |
tree | 00739dd457c0681b33e0fa77729e62476a7f59dd /src/leap/bitmask/vpn/utils.py | |
parent | 49fa0dd3d6c51d79096be1ac2ec3d897e607b399 (diff) |
[refactor] remove unneeded function
Diffstat (limited to 'src/leap/bitmask/vpn/utils.py')
-rw-r--r-- | src/leap/bitmask/vpn/utils.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/leap/bitmask/vpn/utils.py b/src/leap/bitmask/vpn/utils.py index 51f24d9..b0ffa12 100644 --- a/src/leap/bitmask/vpn/utils.py +++ b/src/leap/bitmask/vpn/utils.py @@ -21,29 +21,6 @@ Common utils import os - -def get_path_prefix(standalone=False): - """ - Returns the platform dependent path prefix. - - :param standalone: if True it will return the prefix for a standalone - application. - Otherwise, it will return the system default for - configuration storage. - :type standalone: bool - """ - return os.path.expanduser("~/.config") # hardcoded Linux XDG config path - - # TODO: this is to use XDG specifications - # commented temporarily to avoid that extra dependency - - # config_home = get_xdg_config_home() - # if standalone: - # config_home = os.path.join(os.getcwd(), "config") - # - # return config_home - - def force_eval(items): """ Return a sequence that evaluates any callable in the sequence, |