diff options
author | Slávek Banko <[email protected]> | 2022-07-28 00:26:25 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-07-28 00:26:25 +0200 |
commit | 7cacc26b4b234a6d806213021593d5fb8a3a8682 (patch) | |
tree | 56351d4d1ae816188b91957bb64244bfe2f5fae4 /ubuntu | |
parent | 7351ad64cba0e5a569199eab2149fea91a89a039 (diff) | |
download | tde-packaging-7cacc26b4b234a6d806213021593d5fb8a3a8682.tar.gz tde-packaging-7cacc26b4b234a6d806213021593d5fb8a3a8682.zip |
DEB sip4-tqt: Add the module name for importing sipconfig variants
instead of relying on import from the same folder,
as this is not usable for Python 3.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py | 8 | ||||
-rw-r--r-- | ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py index a9e761f08..32cf8d5e7 100644 --- a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py +++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError, msg: raise ImportError, 'No module named sipconfig; package python-sip-tqt-dbg not installed' else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py index 15c4d79be..3e6aa5aba 100644 --- a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py +++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError as msg: raise ImportError('No module named sipconfig; package python-sip-tqt-dbg not installed') else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros |