aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/common/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/common/__init__.py')
-rw-r--r--gbp/scripts/common/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gbp/scripts/common/__init__.py b/gbp/scripts/common/__init__.py
index a24bb628..dcf91974 100644
--- a/gbp/scripts/common/__init__.py
+++ b/gbp/scripts/common/__init__.py
@@ -15,3 +15,10 @@
# along with this program; if not, please see
# <http://www.gnu.org/licenses/>
"""Parts shared between the deb and rpm commands"""
+
+
+class ExitCodes(object):
+ ok = 0,
+ failed = 1 # All other errors
+ no_value = 2 # Value does not exist (gbp config only)
+ parse_error = 3 # Failed to parse configuration file