This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch jmac/cas_to_cas_oct
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 241f8cc0cb1b864a2c45a943607f073679680e83
Author: Jim MacArthur <[email protected]>
AuthorDate: Tue Oct 23 17:57:54 2018 +0100

    CASBasedDirectory: Do not sort the input file list!
---
 buildstream/storage/_casbaseddirectory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildstream/storage/_casbaseddirectory.py 
b/buildstream/storage/_casbaseddirectory.py
index 1a078b2..e44be6b 100644
--- a/buildstream/storage/_casbaseddirectory.py
+++ b/buildstream/storage/_casbaseddirectory.py
@@ -508,7 +508,7 @@ class CasBasedDirectory(Directory):
     def _import_files_from_directory(self, source_directory, files, 
path_prefix=""):
         """ Imports files from a traditional directory """
         result = FileListResult()
-        for entry in sorted(files):
+        for entry in files:
             print("Importing {} from file system".format(entry))
             print("...Order of elements was {}".format(", 
".join(self.index.keys())))
 

Reply via email to