summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-10-02 18:34:47 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-10-07 11:29:40 +0100
commitfba7620021d32afb03cb10aa9d1ebb194721bb67 (patch)
treee0d71abb888312ad57951db7af75195afa22a60a /morphlib
parent95e699482783c93ed323d8a328ded6bd319b9903 (diff)
downloadmorph-fba7620021d32afb03cb10aa9d1ebb194721bb67.tar.gz
import: omnibus.to_lorry improvements
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/util.py2
1 files changed, 1 insertions, 1 deletions
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),