summaryrefslogtreecommitdiff
path: root/buildstream/utils.py
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2018-04-09 16:18:27 +0100
committerJonathan Maw <jonathan.maw@codethink.co.uk>2018-07-27 12:24:56 +0000
commita2e9c62ad25cf5b84f8b06ef082acac7496c0e17 (patch)
tree3f6588c3b0d299ed8de17765a7168c8774763d5e /buildstream/utils.py
parent8b46e874070911b2923c4750fcc8fa855b034c7f (diff)
downloadbuildstream-a2e9c62ad25cf5b84f8b06ef082acac7496c0e17.tar.gz
Move _ALIAS_SEPARATOR into utils
The separator is useful in source files other than _project.py
Diffstat (limited to 'buildstream/utils.py')
-rw-r--r--buildstream/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py
index e8270d82f..bfb58c9ef 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -42,6 +42,10 @@ from . import _signals
from ._exceptions import BstError, ErrorDomain
+# The separator we use for user specified aliases
+_ALIAS_SEPARATOR = ':'
+
+
class UtilError(BstError):
"""Raised by utility functions when system calls fail.