Skip to content

Commit

Permalink
Stable results for matches
Browse files Browse the repository at this point in the history
  • Loading branch information
do3cc authored and loechel committed Jul 7, 2017
1 parent f7c5a98 commit bbb63f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/autoinclude/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def distributionForDottedName(package_dottedname):
continue
partial_matches.append((dist, ns_packages))

valid_dists_for_package = full_matches + partial_matches
valid_dists_for_package = full_matches + sorted(partial_matches)

if len(valid_dists_for_package) == 0:
raise LookupError("No distributions found for package `%s`; are you sure it is importable?" % package_dottedname)
Expand Down

0 comments on commit bbb63f3

Please sign in to comment.