Skip to content

Commit

Permalink
Add header and fix spacing for package conflicts (conda#9559)
Browse files Browse the repository at this point in the history
Add header and fix spacing for package conflicts
  • Loading branch information
msarahan authored Jan 8, 2020
2 parents 4c6f064 + 20236ba commit 030feb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conda/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,7 @@ def __init__(self, bad_deps, chains=True, strict=False):
'''),
'direct': dals('''
The following specifications were found to be incompatible with each other:\n
The following specifications were found to be incompatible with each other:
'''),
'cuda': dals('''
Expand Down Expand Up @@ -709,7 +708,8 @@ def __init__(self, bad_deps, chains=True, strict=False):
dep_constraint_map[dep[0][-1].name] = []
dep_constraint_map[dep[0][-1].name].append(dep[0])
for dep, chain in dep_constraint_map.items():
msg += "\nPackage %s conflicts for:\n" % dep
msg += "\n\nPackage %s conflicts for:\n" % dep
msg += "Requested package -> Available versions\n"
msg += "\n".join([" -> ".join([str(i) for i in c]) for c in chain])
else:
for dep_chain, installed_blocker in dep_class:
Expand Down

0 comments on commit 030feb8

Please sign in to comment.