diff options
| author | Brian Dolbec <dolsen@gentoo.org> | 2014-02-11 00:00:38 -0800 |
|---|---|---|
| committer | Brian Dolbec <dolsen@gentoo.org> | 2014-02-11 00:09:23 -0800 |
| commit | f6a7b7cad3df68cc62a2784f7f922adaa91848f2 (patch) | |
| tree | 39160504d08d5eb7ce30c114d005f2b02a6d8219 | |
| parent | 8f70e214507ce7aa4a2e0170ad427536e71768ca (diff) | |
| download | gentoolkit-f6a7b7cad3df68cc62a2784f7f922adaa91848f2.tar.gz | |
revdep_rebuild/stuff.py: Sort the set of files to scan.
Comment out the debug print()s.
Sorting was also a double check that the new scan_files() processing was correct.
It previously failed to find the same breakage when the list was sorted.
| -rw-r--r-- | pym/gentoolkit/revdep_rebuild/stuff.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/stuff.py b/pym/gentoolkit/revdep_rebuild/stuff.py index 817396e..7f8c574 100644 --- a/pym/gentoolkit/revdep_rebuild/stuff.py +++ b/pym/gentoolkit/revdep_rebuild/stuff.py @@ -36,9 +36,9 @@ def scan(params, files, max_args): @return scanelf output (joined if was called several times) ''' - print("SCAN(), params = ", params, len(files)) - # change it to a sorted list for group processing - _files = list(files) + #print("SCAN(), params = ", params, len(files)) + # change it to a list for group processing + _files = sorted(files) out = [] for i in range(0, len(_files), max_args): output = call_program( @@ -46,7 +46,7 @@ def scan(params, files, max_args): output = [x for x in output if x != ''] if output: out.extend(output) - print("SCAN(), final output length:", len(out)) + #print("SCAN(), final output length:", len(out)) return out |
