summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/__init__.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-09-18 14:27:15 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-09-18 18:24:20 -0300
commit6cd19c3b67d76268bab5f93d3168164ec02f603d (patch)
treee86a305064345aab3ea29c356bf281411c331bca /src/leap/bitmask/util/__init__.py
parente0734dd4c3c529c99b7c90d8db1dfb9f09551b24 (diff)
Move STANDALONE flag to a module and unify paths queries.
Diffstat (limited to 'src/leap/bitmask/util/__init__.py')
-rw-r--r--src/leap/bitmask/util/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/bitmask/util/__init__.py b/src/leap/bitmask/util/__init__.py
index 78efcb6e..f762a350 100644
--- a/src/leap/bitmask/util/__init__.py
+++ b/src/leap/bitmask/util/__init__.py
@@ -20,6 +20,13 @@ Some small and handy functions.
import datetime
import os
+from leap.bitmask.config import flags
+from leap.common.config import get_path_prefix as common_get_path_prefix
+
+
+def get_path_prefix():
+ return common_get_path_prefix(flags.STANDALONE)
+
def first(things):
"""