diff options
author | Josh Smith <qinusty@gmail.com> | 2018-08-29 10:38:53 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-08-29 12:38:15 +0000 |
commit | 42ad937d7c47a685cb6f7a58f81d82d66cf2a157 (patch) | |
tree | b5ceb8b7623528a72f8bb544f9b59832486b9359 /buildstream/utils.py | |
parent | 5fc7b5ac1f2c290fb3f5b1818fec3fe933b418c0 (diff) | |
download | buildstream-42ad937d7c47a685cb6f7a58f81d82d66cf2a157.tar.gz |
Prevent ValueError on URLs without an alias
Fixes #597
Diffstat (limited to 'buildstream/utils.py')
-rw-r--r-- | buildstream/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py index 3d8bd62ca..1aeea52be 100644 --- a/buildstream/utils.py +++ b/buildstream/utils.py @@ -47,6 +47,7 @@ _magic_timestamp = calendar.timegm([2011, 11, 11, 11, 11, 11]) # The separator we use for user specified aliases _ALIAS_SEPARATOR = ':' +_URI_SCHEMES = ["http", "https", "ftp", "file", "git", "sftp", "ssh"] class UtilError(BstError): |