[Differential] [Request, 10 lines] D4377: Fix Python dependency in test scripts for KFileMetaData (bug 375472)
A. Wilcox
noreply at phabricator.kde.org
Tue Jan 31 18:38:00 UTC 2017
awilcox created this revision.
awilcox set the repository for this revision to R286 KFileMetaData.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
KFileMetaData test scripts are usable in both deprecated Python 2, and new Python 3. This removes 'python2' from the shebang and uses the regular 'python' interpreter, thereby removing the requirement of Python 2 being on a system to be able to test KFileMetaData.
Additionally, it removes unused imports.
TEST PLAN
This patch was applied to:
- 5.23
- 5.26
- 5.29
It was tested on Linux kernel 4.4 using:
- x86_64
- x86_32
- PowerPC
It was tested on glibc and musl libc.
REPOSITORY
R286 KFileMetaData
REVISION DETAIL
https://phabricator.kde.org/D4377
AFFECTED FILES
kfilemetadata-5.23.0/autotests/samplefiles/testexternalextractor/main.py
kfilemetadata-5.23.0/autotests/samplefiles/testexternalwriter/main.py
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: awilcox
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170131/ab2f7772/attachment.html>
More information about the Kde-frameworks-devel
mailing list