From fba7620021d32afb03cb10aa9d1ebb194721bb67 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 2 Oct 2014 18:34:47 +0100 Subject: import: omnibus.to_lorry improvements --- morphlib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'morphlib') diff --git a/morphlib/util.py b/morphlib/util.py index 36ab4e21..a7424aed 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -172,7 +172,7 @@ def combine_aliases(app): # pragma: no cover m.group('prefix'), _expand(m.group('pull'), m.group('path')), _expand(m.group('push'), m.group('path'))) - elif '=' not in trove_id: + elif '=' not in trove_id and trove_id not in alias_map: alias_map[trove_id] = "%s=%s#%s" % ( trove_id, _expand('ssh', trove_id), -- cgit v1.2.1