Use the right API for iterating a directory
ClosedPublic

Authored by apol on May 13 2018, 11:19 AM.

Details

Summary

Use DirEntries instead of constructing paths and request data randomly
makes the script a bit faster and the code easier to read.

Test Plan

Works here, didn't work in the CI, I don't understand why.
https://build.kde.org/job/Frameworks%20kfilemetadata%20kf5-qt5%20FreeBSDQt5.10/6/

Diff Detail

Repository
R857 CI System Tooling
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol requested review of this revision.May 13 2018, 11:19 AM
apol created this revision.
apol updated this revision to Diff 34068.May 13 2018, 11:35 AM

actually fix execution

This revision was not accepted when it landed; it landed in state Needs Review.May 13 2018, 5:45 PM
This revision was automatically updated to reflect the committed changes.