Commit 32d32d03 authored by Robert Bradshaw's avatar Robert Bradshaw

Add sorting to glob matching for determanistic behavior.

parent 4dd8e762
......@@ -646,7 +646,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
else:
raise TypeError(pattern)
for file in nonempty(extended_iglob(filepattern), "'%s' doesn't match any files" % filepattern):
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
if os.path.abspath(file) in to_exclude:
continue
pkg = deps.package(file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment