[PyQt] pyqtdeploy-2.2 : minor error in sysroot.py
suizokukan
suizokukan at orange.fr
Wed Nov 14 10:41:02 GMT 2018
Hello,
it seems to me there's a minor bug in pyqtdeploy-2.2/pyqtdeploy/sysroot/sysroot.py. Line 231, instead of :
toolchain_version = os.environ.get('ANDROID_NDK_TOOLCHAIN_VERSION')
if toolchain_version is None:
sysroot.error(
"the ANDROID_NDK_TOOLCHAIN_VERSION environment variable "
"must be set to an appropriate value (e.g. '4.9')")
we should read:
toolchain_version = os.environ.get('ANDROID_NDK_TOOLCHAIN_VERSION')
if toolchain_version is None:
self.error(
"the ANDROID_NDK_TOOLCHAIN_VERSION environment variable "
"must be set to an appropriate value (e.g. '4.9')")
... in order to avoid the NameError I got. In this file every call to .error() but this line is written self.error() .
suizokukan (Xavier Faure)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181114/c23b5dd4/attachment.html>
More information about the PyQt
mailing list