diff options
-rw-r--r-- | morphlib/util.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/util.py b/morphlib/util.py index 1a347da0..40420bf1 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -144,6 +144,10 @@ def combine_aliases(app): # pragma: no cover m = re.match(repo_pat, repo_alias) if m: alias_map[m.group('prefix')] = repo_alias + else: + raise morphlib.Error( + 'Invalid repo-alias: %s' % repo_alias) + return alias_map.values() |