From 8fb76310e14a5893397894c6155ac7aa4f28e483 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Tue, 31 Jan 2017 23:13:45 +0100 Subject: [refactor] remove unneeded function --- src/leap/bitmask/vpn/utils.py | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/leap/bitmask/vpn/utils.py') diff --git a/src/leap/bitmask/vpn/utils.py b/src/leap/bitmask/vpn/utils.py index 51f24d9b..b0ffa128 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, -- cgit v1.2.3