[PATCH 1/7] util: Fix a missing import in combine_aliases

Richard Maw richard.maw at codethink.co.uk
Tue Jun 4 17:52:41 BST 2013


ciapp is not imported, but morphlib.Error is an appropriate exception
---
 morphlib/util.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/morphlib/util.py b/morphlib/util.py
index 6d7d5c4..6d15fcf 100644
--- a/morphlib/util.py
+++ b/morphlib/util.py
@@ -117,7 +117,7 @@ def combine_aliases(app):  # pragma: no cover
         elif protocol == "ssh":
             return "ssh://git@%s/%s/%%s" % (trove_host, path)
         else:
-            raise cliapp.AppException(
+            raise morphlib.Error(
                 'Unknown protocol in trove_id: %s' % protocol)
 
     if trove_host:
-- 
1.7.10.4




More information about the baserock-dev mailing list