summaryrefslogtreecommitdiffstats
path: root/ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2011-12-14 15:50:42 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2011-12-14 15:50:42 -0500
commitfc98476aef6bf17768cfc0450bd25ac967d01834 (patch)
tree7411b50fd18336185de9fb8520fd9154822020b4 /ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py
parentcc3f13111c121c8a39b9937bb2e1bf00207c9df0 (diff)
parente9bf572672fe20775479a10b426d32379f4185d0 (diff)
downloadtde-packaging-fc98476aef6bf17768cfc0450bd25ac967d01834.tar.gz
tde-packaging-fc98476aef6bf17768cfc0450bd25ac967d01834.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py')
-rw-r--r--ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py b/ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py
new file mode 100644
index 000000000..baab0b1cf
--- /dev/null
+++ b/ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py
@@ -0,0 +1,11 @@
+# import the sipconfig.py for the normal or the debug build
+
+import sys
+
+if getattr(sys, "pydebug", False):
+ try:
+ from pytdeconfig_d import *
+ except ImportError, msg:
+ raise ImportError, 'No module named pytdeconfig; package python-kde3-dbg not installed'
+else:
+ from pytdeconfig_nd import *