summaryrefslogtreecommitdiff
path: root/src/leap/common/config
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-10-29 12:00:39 -0400
committerKali Kaneko <kali@leap.se>2015-10-29 12:00:39 -0400
commitee0e9cadccd00cb62032d8fc4b322bb6fe3dc7ed (patch)
treeaae58b3f251c5a621d75b8d77428bbd90699e560 /src/leap/common/config
parent3ab6b2aff4a38a4fabd4320880ef795f05ccd17f (diff)
parent3fabc788c27b2c2619d8e23b3eebc018b95faf7a (diff)
Merge tag '0.4.4' into debian/experimental
Tag leap.common version 0.4.4
Diffstat (limited to 'src/leap/common/config')
-rw-r--r--src/leap/common/config/flags.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/leap/common/config/flags.py b/src/leap/common/config/flags.py
new file mode 100644
index 0000000..6fd43f6
--- /dev/null
+++ b/src/leap/common/config/flags.py
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+# flags.py
+# Copyright (C) 2015 LEAP
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""
+This file is meant to be used to store global flags that affect the
+application.
+
+WARNING: You should NOT use this kind of flags unless you're sure of what
+ you're doing, and someone else tells you that you're right.
+ Most of the times there is a better and safer alternative.
+"""
+
+# The STANDALONE flag is used to:
+# - use a relative or system wide path to find the configuration files.
+STANDALONE = False